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.001903/0.001903, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001857/0.001858, allocations: 183 kB / 17.34 MB, free: 5.738 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.528/1.528, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 64.12 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2539/1.462, allocations: 192.6 MB / 1.397 GB, free: 12.27 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008238/1.47, allocations: 4.018 MB / 1.4 GB, free: 8.242 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/1.471, allocations: 19.88 kB / 1.4 GB, free: 8.223 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001847/1.473, allocations: 473 kB / 1.401 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/1.478, allocations: 1.524 MB / 1.402 GB, free: 6.227 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004745/1.483, allocations: 1.366 MB / 1.404 GB, free: 4.863 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003701/1.487, allocations: 1.631 MB / 1.405 GB, free: 3.227 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/1.489, allocations: 0.9606 MB / 1.406 GB, free: 2.254 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/1.491, allocations: 0.9189 MB / 1.407 GB, free: 1.332 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/1.493, allocations: 0.8526 MB / 1.408 GB, free: 488 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00046/1.494, allocations: 96 kB / 1.408 GB, free: 392 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003917/1.498, allocations: 1.309 MB / 1.409 GB, free: 15.07 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00082/1.498, allocations: 355 kB / 1.41 GB, free: 14.72 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00143/1.5, allocations: 0.5133 MB / 1.41 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/1.504, allocations: 1.632 MB / 1.412 GB, free: 12.57 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.504, allocations: 4 kB / 1.412 GB, free: 12.57 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.926e-06/1.504, allocations: 4 kB / 1.412 GB, free: 12.56 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.375e-05/1.504, allocations: 0 / 1.412 GB, free: 12.56 MB / 1.139 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.004588/1.509, allocations: 1.445 MB / 1.413 GB, free: 11.06 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.509, allocations: 8.031 kB / 1.413 GB, free: 11.05 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.511, allocations: 234.8 kB / 1.413 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.512, allocations: 0.6149 MB / 1.414 GB, free: 10.17 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/1.512, allocations: 40.94 kB / 1.414 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/1.512, allocations: 51.98 kB / 1.414 GB, free: 10.08 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/1.514, allocations: 0.957 MB / 1.415 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/1.514, allocations: 0 / 1.415 GB, free: 9.051 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-05/1.515, allocations: 24 kB / 1.415 GB, free: 9.027 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/1.515, allocations: 31.92 kB / 1.415 GB, free: 8.996 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/1.516, allocations: 0.9445 MB / 1.416 GB, free: 8.051 MB / 1.139 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.006671/1.523, allocations: 4.262 MB / 1.42 GB, free: 3.617 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.524, allocations: 0.5954 MB / 1.421 GB, free: 3.012 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/1.525, allocations: 0.5136 MB / 1.421 GB, free: 2.496 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/1.526, allocations: 0.8822 MB / 1.422 GB, free: 1.43 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/1.526, allocations: 39 kB / 1.422 GB, free: 1.383 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001577/1.528, allocations: 415.1 kB / 1.423 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of pre-optimization done (n=50): time 5.67e-06/1.528, allocations: 0 / 1.423 GB, free: 0.9766 MB / 1.139 GB Notification: Performance of matching and sorting (n=50): time 0.01792/1.546, allocations: 3.833 MB / 1.426 GB, free: 13.09 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/1.546, allocations: 59.78 kB / 1.426 GB, free: 13.02 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/1.547, allocations: 0.7155 MB / 1.427 GB, free: 12.3 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000179/1.547, allocations: 41.64 kB / 1.427 GB, free: 12.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/1.548, allocations: 320.6 kB / 1.427 GB, free: 11.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.548, allocations: 173.5 kB / 1.428 GB, free: 11.76 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/1.548, allocations: 154 kB / 1.428 GB, free: 11.61 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.549, allocations: 322 kB / 1.428 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008147/1.549, allocations: 396.9 kB / 1.428 GB, free: 10.9 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/1.55, allocations: 493.4 kB / 1.429 GB, free: 10.39 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/1.552, allocations: 0.9219 MB / 1.43 GB, free: 9.441 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.552, allocations: 0 / 1.43 GB, free: 9.441 MB / 1.154 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01162/1.564, allocations: 2.56 MB / 1.432 GB, free: 6.863 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/1.564, allocations: 8 kB / 1.432 GB, free: 6.855 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.564, allocations: 0 / 1.432 GB, free: 6.855 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009659/1.573, allocations: 1.734 MB / 1.434 GB, free: 5.113 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/1.574, allocations: 91.86 kB / 1.434 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.588, allocations: 7.142 MB / 1.441 GB, free: 13.59 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/1.589, allocations: 20.05 kB / 1.441 GB, free: 13.57 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.589, allocations: 48.39 kB / 1.441 GB, free: 13.52 MB / 1.17 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.0005959/1.59, allocations: 205.8 kB / 1.441 GB, free: 13.31 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/1.59, allocations: 82.97 kB / 1.441 GB, free: 13.23 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005528/1.596, allocations: 1.745 MB / 1.443 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.596, allocations: 4 kB / 1.443 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/1.596, allocations: 4 kB / 1.443 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.596, allocations: 3.984 kB / 1.443 GB, free: 11.45 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/1.603, allocations: 2.536 MB / 1.446 GB, free: 8.836 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/1.603, allocations: 4 kB / 1.446 GB, free: 8.832 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/1.603, allocations: 87.89 kB / 1.446 GB, free: 8.746 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/1.607, allocations: 0.8095 MB / 1.446 GB, free: 7.93 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/1.607, allocations: 16 kB / 1.446 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007648/1.615, allocations: 4.848 MB / 1.451 GB, free: 2.785 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/1.615, allocations: 4 kB / 1.451 GB, free: 2.781 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/1.62, allocations: 2.151 MB / 1.453 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/1.621, allocations: 239.9 kB / 1.454 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.621, allocations: 12 kB / 1.454 GB, free: 328 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/1.622, allocations: 23.98 kB / 1.454 GB, free: 304 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/1.622, allocations: 44.44 kB / 1.454 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/1.622, allocations: 27.98 kB / 1.454 GB, free: 232 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008822/1.623, allocations: 0.499 MB / 1.454 GB, free: 15.73 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.81e-07/1.623, allocations: 0 / 1.454 GB, free: 15.73 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001343/1.625, allocations: 283.8 kB / 1.454 GB, free: 15.45 MB / 1.186 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.0006333/1.625, allocations: 225.3 kB / 1.455 GB, free: 15.23 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003813/1.629, allocations: 1.461 MB / 1.456 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.629, allocations: 256 / 1.456 GB, free: 13.74 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001882/1.631, allocations: 0.9184 MB / 1.457 GB, free: 12.8 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/1.633, allocations: 453.4 kB / 1.457 GB, free: 12.36 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/1.637, allocations: 1.756 MB / 1.459 GB, free: 10.55 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007237/1.637, allocations: 0.9789 MB / 1.46 GB, free: 9.551 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.638, allocations: 67.41 kB / 1.46 GB, free: 9.484 MB / 1.186 GB Notification: Performance of SimCode: time 4.11e-07/1.638, allocations: 4 kB / 1.46 GB, free: 9.48 MB / 1.186 GB Notification: Performance of Templates: time 0.03011/1.668, allocations: 19.36 MB / 1.479 GB, free: 6.23 MB / 1.201 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches