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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0015/0.0015, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001678/0.001678, allocations: 191 kB / 17.29 MB, free: 5.516 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.55 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.7263/1.036, allocations: 192.6 MB / 1.215 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00619/1.043, allocations: 4.013 MB / 1.219 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007117/1.043, allocations: 16.06 kB / 1.219 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/1.045, allocations: 479.9 kB / 1.219 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/1.048, allocations: 1.521 MB / 1.221 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003077/1.051, allocations: 1.364 MB / 1.222 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001924/1.053, allocations: 1.636 MB / 1.224 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/1.054, allocations: 0.9508 MB / 1.225 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/1.055, allocations: 0.9235 MB / 1.225 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/1.056, allocations: 0.8598 MB / 1.226 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/1.056, allocations: 96.59 kB / 1.226 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/1.059, allocations: 1.308 MB / 1.228 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/1.059, allocations: 350.9 kB / 1.228 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004931/1.059, allocations: 0.5094 MB / 1.229 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/1.062, allocations: 1.632 MB / 1.23 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.062, allocations: 0 / 1.23 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/1.062, allocations: 0 / 1.23 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.062, allocations: 0 / 1.23 GB, free: 13.11 MB / 0.9356 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.00292/1.064, allocations: 1.457 MB / 1.232 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.065, allocations: 12.02 kB / 1.232 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/1.066, allocations: 234.7 kB / 1.232 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/1.067, allocations: 0.611 MB / 1.232 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/1.067, allocations: 37 kB / 1.232 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/1.067, allocations: 51.91 kB / 1.232 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/1.069, allocations: 0.9648 MB / 1.233 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/1.069, allocations: 7.938 kB / 1.233 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/1.069, allocations: 16 kB / 1.233 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.069, allocations: 31.98 kB / 1.233 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.07, allocations: 0.9406 MB / 1.234 GB, free: 8.578 MB / 0.9356 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.005284/1.076, allocations: 4.239 MB / 1.238 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/1.076, allocations: 0.6017 MB / 1.239 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007433/1.077, allocations: 0.5143 MB / 1.24 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/1.078, allocations: 0.8783 MB / 1.24 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.078, allocations: 43 kB / 1.24 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001407/1.08, allocations: 411.2 kB / 1.241 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=50): time 3.076e-06/1.08, allocations: 0 / 1.241 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50): time 0.01708/1.097, allocations: 3.849 MB / 1.245 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/1.097, allocations: 55.84 kB / 1.245 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009123/1.098, allocations: 0.7116 MB / 1.245 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/1.098, allocations: 37.7 kB / 1.245 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/1.098, allocations: 324.6 kB / 1.246 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/1.098, allocations: 177.4 kB / 1.246 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/1.099, allocations: 142.1 kB / 1.246 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.099, allocations: 330 kB / 1.246 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/1.099, allocations: 396.9 kB / 1.247 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/1.1, allocations: 485.5 kB / 1.247 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001432/1.102, allocations: 0.9219 MB / 1.248 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/1.102, allocations: 1.438 kB / 1.248 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.011/1.113, allocations: 2.556 MB / 1.251 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.113, allocations: 11.98 kB / 1.251 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.113, allocations: 4.719 kB / 1.251 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009384/1.122, allocations: 1.735 MB / 1.252 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/1.123, allocations: 91.86 kB / 1.252 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/1.135, allocations: 7.138 MB / 1.259 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009232/1.136, allocations: 24.05 kB / 1.259 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/1.136, allocations: 47.92 kB / 1.259 GB, free: 14.07 MB / 0.9669 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.0003919/1.136, allocations: 211.1 kB / 1.26 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/1.137, allocations: 79.06 kB / 1.26 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004923/1.141, allocations: 1.742 MB / 1.261 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/1.142, allocations: 11.94 kB / 1.261 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.142, allocations: 0 / 1.261 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/1.142, allocations: 7.984 kB / 1.261 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005904/1.147, allocations: 2.548 MB / 1.264 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.147, allocations: 192 / 1.264 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/1.148, allocations: 87.89 kB / 1.264 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/1.151, allocations: 0.8016 MB / 1.265 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/1.151, allocations: 19.98 kB / 1.265 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006753/1.158, allocations: 4.848 MB / 1.27 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.158, allocations: 0 / 1.27 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/1.164, allocations: 2.155 MB / 1.272 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005174/1.164, allocations: 228 kB / 1.272 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.164, allocations: 12 kB / 1.272 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/1.165, allocations: 28.11 kB / 1.272 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.165, allocations: 60.38 kB / 1.272 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/1.165, allocations: 19.98 kB / 1.272 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006065/1.166, allocations: 0.4951 MB / 1.272 GB, free: 280 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.166, allocations: 0 / 1.272 GB, free: 280 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009333/1.167, allocations: 295.8 kB / 1.273 GB, free: 15.98 MB / 0.9825 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.0004686/1.167, allocations: 206.8 kB / 1.273 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003455/1.171, allocations: 1.484 MB / 1.274 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.171, allocations: 0 / 1.274 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001798/1.172, allocations: 0.9147 MB / 1.275 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/1.174, allocations: 466.2 kB / 1.276 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/1.177, allocations: 1.696 MB / 1.277 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/1.177, allocations: 0.9789 MB / 1.278 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005294/1.178, allocations: 170.6 kB / 1.278 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/1.178, allocations: 71.41 kB / 1.279 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/1.178, allocations: 0 / 1.279 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.03428/1.212, allocations: 22.61 MB / 1.301 GB, free: 3.527 MB / 0.9981 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 -s gbode -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