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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.536/3.536, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 63.48 kB / 1.184 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4981, allocations: 181.4 MB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.285/0.783, allocations: 196.7 MB / 1.554 GB, free: 10.87 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.008663/0.7917, allocations: 4.228 MB / 1.558 GB, free: 6.633 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.7931, allocations: 27.75 kB / 1.558 GB, free: 6.605 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.7948, allocations: 497 kB / 1.558 GB, free: 6.117 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005393/0.8002, allocations: 1.675 MB / 1.56 GB, free: 4.438 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.004851/0.8051, allocations: 1.424 MB / 1.561 GB, free: 3.012 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003868/0.8089, allocations: 1.684 MB / 1.563 GB, free: 1.324 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00157/0.8105, allocations: 0.8539 MB / 1.564 GB, free: 468 kB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.8134, allocations: 1.129 MB / 1.565 GB, free: 15.32 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.815, allocations: 0.9346 MB / 1.566 GB, free: 14.39 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.8152, allocations: 104 kB / 1.566 GB, free: 14.29 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.819, allocations: 1.446 MB / 1.567 GB, free: 12.84 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.000506/0.8195, allocations: 378.9 kB / 1.568 GB, free: 12.46 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.8202, allocations: 0.5367 MB / 1.568 GB, free: 11.93 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003721/0.824, allocations: 1.725 MB / 1.57 GB, free: 10.2 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.824, allocations: 0 / 1.57 GB, free: 10.2 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.895e-06/0.824, allocations: 4 kB / 1.57 GB, free: 10.19 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.713e-05/0.824, allocations: 3.938 kB / 1.57 GB, free: 10.19 MB / 1.264 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.003148/0.8271, allocations: 1.208 MB / 1.571 GB, free: 8.945 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8272, allocations: 8.031 kB / 1.571 GB, free: 8.938 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.8304, allocations: 430.9 kB / 1.571 GB, free: 8.516 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001239/0.8316, allocations: 0.5771 MB / 1.572 GB, free: 7.91 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.8317, allocations: 37 kB / 1.572 GB, free: 7.875 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.8318, allocations: 51.95 kB / 1.572 GB, free: 7.824 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.8341, allocations: 1.136 MB / 1.573 GB, free: 6.617 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.8341, allocations: 8 kB / 1.573 GB, free: 6.609 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.8342, allocations: 16 kB / 1.573 GB, free: 6.594 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.8342, allocations: 31.94 kB / 1.573 GB, free: 6.562 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.8368, allocations: 1.206 MB / 1.574 GB, free: 5.359 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007192/0.844, allocations: 4.357 MB / 1.579 GB, free: 0.832 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002259/0.8463, allocations: 0.8453 MB / 1.579 GB, free: 15.98 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.8475, allocations: 0.576 MB / 1.58 GB, free: 15.4 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005268/0.848, allocations: 92.31 kB / 1.58 GB, free: 15.31 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.8481, allocations: 35 kB / 1.58 GB, free: 15.27 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002574/0.8507, allocations: 0.636 MB / 1.581 GB, free: 14.63 MB / 1.279 GB Notification: Performance of pre-optimization done (n=50): time 4.408e-06/0.8507, allocations: 0 / 1.581 GB, free: 14.63 MB / 1.279 GB Notification: Performance of matching and sorting (n=50): time 0.01902/0.8697, allocations: 3.96 MB / 1.585 GB, free: 10.65 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.8698, allocations: 63.78 kB / 1.585 GB, free: 10.58 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.8711, allocations: 0.7234 MB / 1.585 GB, free: 9.844 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.8713, allocations: 37.7 kB / 1.585 GB, free: 9.801 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.8716, allocations: 320.9 kB / 1.586 GB, free: 9.484 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.8719, allocations: 194.3 kB / 1.586 GB, free: 9.293 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.8722, allocations: 154 kB / 1.586 GB, free: 9.133 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.8724, allocations: 330 kB / 1.586 GB, free: 8.805 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.8735, allocations: 0.4889 MB / 1.587 GB, free: 8.316 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.8747, allocations: 0.575 MB / 1.587 GB, free: 7.715 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.8771, allocations: 1.098 MB / 1.588 GB, free: 6.59 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.8771, allocations: 4 kB / 1.588 GB, free: 6.586 MB / 1.279 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0124/0.8895, allocations: 2.752 MB / 1.591 GB, free: 3.82 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.8896, allocations: 11.94 kB / 1.591 GB, free: 3.809 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.8896, allocations: 0 / 1.591 GB, free: 3.809 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009647/0.8992, allocations: 1.726 MB / 1.593 GB, free: 2.074 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.9002, allocations: 131.7 kB / 1.593 GB, free: 1.945 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.914, allocations: 6.942 MB / 1.6 GB, free: 10.76 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.9154, allocations: 48 kB / 1.6 GB, free: 10.71 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/0.9156, allocations: 52.17 kB / 1.6 GB, free: 10.66 MB / 1.295 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.0006347/0.9162, allocations: 207.8 kB / 1.6 GB, free: 10.45 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.9165, allocations: 87.48 kB / 1.6 GB, free: 10.37 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/0.9224, allocations: 1.919 MB / 1.602 GB, free: 8.426 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.9225, allocations: 8 kB / 1.602 GB, free: 8.418 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.9225, allocations: 4 kB / 1.602 GB, free: 8.414 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.9225, allocations: 3.984 kB / 1.602 GB, free: 8.41 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/0.9299, allocations: 2.818 MB / 1.605 GB, free: 5.512 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.9299, allocations: 0 / 1.605 GB, free: 5.512 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008019/0.9307, allocations: 115.8 kB / 1.605 GB, free: 5.398 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/0.9341, allocations: 0.8095 MB / 1.606 GB, free: 4.582 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.9342, allocations: 15.98 kB / 1.606 GB, free: 4.566 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9326/1.867, allocations: 4.638 MB / 1.61 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.867, allocations: 1.469 kB / 1.61 GB, free: 248.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007705/1.875, allocations: 2.457 MB / 1.613 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/1.875, allocations: 187.7 kB / 1.613 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/1.875, allocations: 18.11 kB / 1.613 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/1.876, allocations: 52.42 kB / 1.613 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/1.877, allocations: 49.66 kB / 1.613 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/1.877, allocations: 23.23 kB / 1.613 GB, free: 247.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0008526/1.877, allocations: 0.5031 MB / 1.613 GB, free: 247.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.877, allocations: 0 / 1.613 GB, free: 247.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001222/1.879, allocations: 301 kB / 1.614 GB, free: 247.7 MB / 1.295 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 (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%), (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.0003973/1.879, allocations: 186.8 kB / 1.614 GB, free: 247.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004556/1.884, allocations: 1.601 MB / 1.615 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.884, allocations: 0.75 kB / 1.615 GB, free: 246.9 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/1.886, allocations: 0.9588 MB / 1.616 GB, free: 246.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/1.888, allocations: 477.3 kB / 1.617 GB, free: 246.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/1.893, allocations: 1.818 MB / 1.619 GB, free: 245.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006725/1.893, allocations: 0.9811 MB / 1.62 GB, free: 244.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009312/1.894, allocations: 173.4 kB / 1.62 GB, free: 244.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/1.894, allocations: 74.69 kB / 1.62 GB, free: 244.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.703e-06/1.894, allocations: 0 / 1.62 GB, free: 244.8 MB / 1.295 GB Notification: Performance of Templates: time 0.05397/1.948, allocations: 25.39 MB / 1.645 GB, free: 238.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.747600050177425]