Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01556/0.01556, allocations: 169 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.022/3.022, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003869, allocations: 14.72 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 159.6 MB / 1.059 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001493/0.3712, allocations: 1.014 MB / 1.06 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006255/0.3719, allocations: 319 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.3719, allocations: 4 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.3719, allocations: 0 / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.372, allocations: 11.92 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.3723, allocations: 51.8 kB / 1.06 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.3724, allocations: 31.92 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.704e-05/0.3725, allocations: 11.92 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.3726, allocations: 27.86 kB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.3726, allocations: 11.92 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3727, allocations: 0 / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.3728, allocations: 83.91 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.3729, allocations: 3.938 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3729, allocations: 37.64 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3731, allocations: 80.06 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3731, allocations: 0 / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3731, allocations: 0 / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3731, allocations: 0 / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003565/0.3735, allocations: 351.4 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3735, allocations: 12.03 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3735, allocations: 0.9375 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.3737, allocations: 172.3 kB / 1.061 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3737, allocations: 4.375 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.537e-06/0.3737, allocations: 384 / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.3738, allocations: 45.81 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.521e-06/0.3738, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3739, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3739, allocations: 0 / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.3739, allocations: 19.86 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3741, allocations: 157.7 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3742, allocations: 38.61 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.3742, allocations: 12.92 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.3754, allocations: 1.183 MB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3754, allocations: 42.5 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3754, allocations: 3.938 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001538/0.3756, allocations: 53.62 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.3756, allocations: 51.41 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.3757, allocations: 105.8 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3757, allocations: 25.7 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.3758, allocations: 84.14 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.3758, allocations: 23.73 kB / 1.063 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3758, allocations: 9.719 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.376, allocations: 310.8 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.376, allocations: 8 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.376, allocations: 4 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.376, allocations: 20.78 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.376, allocations: 4 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.393e-05/0.3761, allocations: 45.64 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3761, allocations: 4 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3762, allocations: 3.984 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3762, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.3762, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3762, allocations: 320 / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.3763, allocations: 4 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3763, allocations: 0 / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/0.3763, allocations: 107.4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.3764, allocations: 7.938 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.3765, allocations: 69.5 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3765, allocations: 4 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3765, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3765, allocations: 0 / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.3767, allocations: 157.6 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3767, allocations: 4 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.83e-05/0.3767, allocations: 7.938 kB / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3767, allocations: 0 / 1.063 GB, free: 116 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.3767, allocations: 4 kB / 1.063 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3767, allocations: 4 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3767, allocations: 0 / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.3769, allocations: 81.42 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.3769, allocations: 88.97 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3769, allocations: 7.938 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.377, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.377, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.377, allocations: 7.984 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.3771, allocations: 87.28 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3771, allocations: 0 / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002086/0.3773, allocations: 24 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.3775, allocations: 135.1 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.605e-05/0.3776, allocations: 12 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3776, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.3776, allocations: 11.94 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.3778, allocations: 15.92 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.3781, allocations: 134.6 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.3783, allocations: 0.6809 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.265e-05/0.3784, allocations: 8 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.3784, allocations: 7.438 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3784, allocations: 0 / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.003029/0.3814, allocations: 0.7702 MB / 1.065 GB, free: 13.95 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches