Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.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.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007682/0.007682, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001768/0.001768, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 461.8 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.91 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3774, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.039/1.416, allocations: 192.6 MB / 1.396 GB, free: 13.39 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008961/1.425, allocations: 4.004 MB / 1.4 GB, free: 10.12 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/1.427, allocations: 21.97 kB / 1.4 GB, free: 10.11 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/1.429, allocations: 479.1 kB / 1.4 GB, free: 9.719 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007765/1.437, allocations: 1.524 MB / 1.402 GB, free: 8.547 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007194/1.445, allocations: 1.356 MB / 1.403 GB, free: 7.555 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004904/1.45, allocations: 1.635 MB / 1.405 GB, free: 6.633 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/1.452, allocations: 0.9601 MB / 1.406 GB, free: 5.977 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/1.455, allocations: 0.9265 MB / 1.406 GB, free: 5.473 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/1.457, allocations: 0.8525 MB / 1.407 GB, free: 4.941 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005608/1.458, allocations: 96.88 kB / 1.407 GB, free: 4.941 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/1.462, allocations: 1.309 MB / 1.409 GB, free: 4.234 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0009096/1.463, allocations: 349.3 kB / 1.409 GB, free: 3.98 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002056/1.465, allocations: 0.5179 MB / 1.41 GB, free: 3.633 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006412/1.472, allocations: 1.629 MB / 1.411 GB, free: 2.574 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/1.472, allocations: 3.984 kB / 1.411 GB, free: 2.57 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.625e-06/1.472, allocations: 1.375 kB / 1.411 GB, free: 2.57 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.707e-05/1.472, allocations: 0 / 1.411 GB, free: 2.57 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.005629/1.478, allocations: 1.445 MB / 1.413 GB, free: 1.547 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.478, allocations: 9.562 kB / 1.413 GB, free: 1.547 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/1.48, allocations: 234.9 kB / 1.413 GB, free: 1.438 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/1.481, allocations: 0.6142 MB / 1.413 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/1.481, allocations: 37.12 kB / 1.413 GB, free: 0.9023 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.481, allocations: 52.44 kB / 1.413 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.483, allocations: 0.9664 MB / 1.414 GB, free: 188 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.483, allocations: 2.75 kB / 1.414 GB, free: 188 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/1.483, allocations: 21.16 kB / 1.414 GB, free: 172 kB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/1.483, allocations: 35.61 kB / 1.414 GB, free: 160 kB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/1.485, allocations: 0.9337 MB / 1.415 GB, free: 15.69 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006118/1.491, allocations: 4.26 MB / 1.42 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/1.492, allocations: 0.5944 MB / 1.42 GB, free: 11.76 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007399/1.493, allocations: 0.5152 MB / 1.421 GB, free: 11.47 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/1.494, allocations: 0.8806 MB / 1.421 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.494, allocations: 45.56 kB / 1.422 GB, free: 10.43 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001499/1.495, allocations: 413.2 kB / 1.422 GB, free: 10.26 MB / 1.107 GB Notification: Performance of pre-optimization done (n=50): time 5.74e-06/1.495, allocations: 0 / 1.422 GB, free: 10.26 MB / 1.107 GB Notification: Performance of matching and sorting (n=50): time 0.01763/1.513, allocations: 3.836 MB / 1.426 GB, free: 7.055 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/1.513, allocations: 55.84 kB / 1.426 GB, free: 6.984 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/1.514, allocations: 0.7193 MB / 1.426 GB, free: 6.258 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001598/1.514, allocations: 33.7 kB / 1.426 GB, free: 6.219 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/1.514, allocations: 320.6 kB / 1.427 GB, free: 5.902 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000232/1.515, allocations: 173.5 kB / 1.427 GB, free: 5.73 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/1.515, allocations: 154 kB / 1.427 GB, free: 5.574 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.515, allocations: 325.9 kB / 1.427 GB, free: 5.25 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006814/1.516, allocations: 400.8 kB / 1.428 GB, free: 4.859 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007769/1.517, allocations: 485.5 kB / 1.428 GB, free: 4.359 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/1.518, allocations: 0.9219 MB / 1.429 GB, free: 3.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.518, allocations: 0 / 1.429 GB, free: 3.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01148/1.53, allocations: 2.564 MB / 1.432 GB, free: 0.832 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.53, allocations: 9.406 kB / 1.432 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.53, allocations: 4.938 kB / 1.432 GB, free: 0.8203 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009879/1.54, allocations: 1.727 MB / 1.433 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/1.54, allocations: 95.8 kB / 1.433 GB, free: 14.99 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/1.553, allocations: 7.135 MB / 1.44 GB, free: 7.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.554, allocations: 20.06 kB / 1.44 GB, free: 7.547 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.555, allocations: 48.8 kB / 1.44 GB, free: 7.5 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005435/1.555, allocations: 213.7 kB / 1.441 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.556, allocations: 82.97 kB / 1.441 GB, free: 7.199 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/1.561, allocations: 1.732 MB / 1.442 GB, free: 5.453 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/1.561, allocations: 15.92 kB / 1.442 GB, free: 5.438 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/1.561, allocations: 8 kB / 1.442 GB, free: 5.43 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.561, allocations: 0 / 1.442 GB, free: 5.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006264/1.567, allocations: 2.548 MB / 1.445 GB, free: 2.801 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.567, allocations: 4.188 kB / 1.445 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/1.568, allocations: 91.83 kB / 1.445 GB, free: 2.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003363/1.571, allocations: 0.8016 MB / 1.446 GB, free: 1.898 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/1.571, allocations: 12 kB / 1.446 GB, free: 1.887 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/1.578, allocations: 4.851 MB / 1.451 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.578, allocations: 3.938 kB / 1.451 GB, free: 12.75 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005478/1.583, allocations: 2.151 MB / 1.453 GB, free: 10.56 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/1.584, allocations: 228 kB / 1.453 GB, free: 10.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/1.584, allocations: 16 kB / 1.453 GB, free: 10.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007428/1.585, allocations: 19.98 kB / 1.453 GB, free: 10.28 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/1.585, allocations: 60.42 kB / 1.453 GB, free: 10.22 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/1.585, allocations: 20 kB / 1.453 GB, free: 10.2 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00071/1.586, allocations: 0.4951 MB / 1.453 GB, free: 9.711 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.8e-07/1.586, allocations: 3.938 kB / 1.453 GB, free: 9.707 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001263/1.587, allocations: 291.8 kB / 1.454 GB, free: 9.422 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006381/1.588, allocations: 214.7 kB / 1.454 GB, free: 9.211 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003748/1.592, allocations: 1.462 MB / 1.455 GB, free: 7.723 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.592, allocations: 0 / 1.455 GB, free: 7.723 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/1.594, allocations: 0.907 MB / 1.456 GB, free: 6.789 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/1.596, allocations: 463.6 kB / 1.457 GB, free: 6.344 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/1.599, allocations: 1.716 MB / 1.458 GB, free: 4.586 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006487/1.6, allocations: 0.9828 MB / 1.459 GB, free: 3.578 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0006793/1.601, allocations: 166.6 kB / 1.459 GB, free: 3.41 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.601, allocations: 63.42 kB / 1.46 GB, free: 3.348 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.601, allocations: 0 / 1.46 GB, free: 3.348 MB / 1.139 GB Notification: Performance of Templates: time 0.0384/1.639, allocations: 23.39 MB / 1.482 GB, free: 12.18 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches