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.001845/0.001845, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002159/0.002159, allocations: 216.6 kB / 23.01 MB, free: 4.609 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.59/1.59, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.417/3.417, allocations: 0.505 GB / 0.8108 GB, free: 22.06 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.002024/0.002024, allocations: 67.48 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4262, allocations: 180.2 MB / 1.354 GB, free: 7.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2737/0.6999, allocations: 196.7 MB / 1.546 GB, free: 2.527 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 0.009229/0.7092, allocations: 4.227 MB / 1.55 GB, free: 14.29 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.7107, allocations: 27.81 kB / 1.55 GB, free: 14.26 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.7125, allocations: 0.4892 MB / 1.551 GB, free: 13.77 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.7183, allocations: 1.67 MB / 1.552 GB, free: 12.09 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00481/0.7231, allocations: 1.41 MB / 1.554 GB, free: 10.68 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00355/0.7266, allocations: 1.686 MB / 1.555 GB, free: 8.992 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.7282, allocations: 0.8539 MB / 1.556 GB, free: 8.125 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003049/0.7312, allocations: 1.133 MB / 1.557 GB, free: 6.988 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.7331, allocations: 0.9307 MB / 1.558 GB, free: 6.055 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.7333, allocations: 108 kB / 1.558 GB, free: 5.949 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.7369, allocations: 1.442 MB / 1.56 GB, free: 4.504 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.7375, allocations: 386.8 kB / 1.56 GB, free: 4.125 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0008769/0.7384, allocations: 0.5251 MB / 1.561 GB, free: 3.598 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.7423, allocations: 1.733 MB / 1.562 GB, free: 1.859 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7423, allocations: 0 / 1.562 GB, free: 1.859 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7423, allocations: 0 / 1.562 GB, free: 1.859 MB / 1.248 GB Notification: Performance of Transformations before backend: time 2.61e-05/0.7423, allocations: 0 / 1.562 GB, free: 1.859 MB / 1.248 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.00316/0.7455, allocations: 1.212 MB / 1.564 GB, free: 0.6133 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.7455, allocations: 8.031 kB / 1.564 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.7492, allocations: 434.9 kB / 1.564 GB, free: 184 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.751, allocations: 0.5772 MB / 1.565 GB, free: 15.57 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.273e-05/0.7511, allocations: 40.98 kB / 1.565 GB, free: 15.53 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.7512, allocations: 51.95 kB / 1.565 GB, free: 15.48 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.7537, allocations: 1.129 MB / 1.566 GB, free: 14.28 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.7537, allocations: 3.938 kB / 1.566 GB, free: 14.28 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.7538, allocations: 24 kB / 1.566 GB, free: 14.25 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/0.7539, allocations: 31.98 kB / 1.566 GB, free: 14.22 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.7566, allocations: 1.21 MB / 1.567 GB, free: 13.01 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007608/0.7642, allocations: 4.349 MB / 1.571 GB, free: 8.492 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/0.7667, allocations: 0.8435 MB / 1.572 GB, free: 7.641 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.768, allocations: 0.5775 MB / 1.573 GB, free: 7.062 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.7686, allocations: 88.33 kB / 1.573 GB, free: 6.977 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.113e-05/0.7686, allocations: 42.97 kB / 1.573 GB, free: 6.922 MB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002886/0.7715, allocations: 0.6322 MB / 1.573 GB, free: 6.289 MB / 1.264 GB Notification: Performance of pre-optimization done (n=50): time 6.161e-06/0.7715, allocations: 0 / 1.573 GB, free: 6.289 MB / 1.264 GB Notification: Performance of matching and sorting (n=50): time 0.02079/0.7923, allocations: 3.96 MB / 1.577 GB, free: 2.312 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.7924, allocations: 67.78 kB / 1.577 GB, free: 2.234 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.7937, allocations: 0.7195 MB / 1.578 GB, free: 1.5 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0003294/0.794, allocations: 41.64 kB / 1.578 GB, free: 1.453 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/0.7944, allocations: 328.9 kB / 1.578 GB, free: 1.129 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000274/0.7946, allocations: 186.3 kB / 1.579 GB, free: 0.9453 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.795, allocations: 158 kB / 1.579 GB, free: 0.7852 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.7952, allocations: 322 kB / 1.579 GB, free: 476 kB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.7964, allocations: 0.4968 MB / 1.579 GB, free: 15.96 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7977, allocations: 0.5788 MB / 1.58 GB, free: 15.36 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.8002, allocations: 1.094 MB / 1.581 GB, free: 14.23 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.8003, allocations: 0 / 1.581 GB, free: 14.23 MB / 1.279 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01327/0.8135, allocations: 2.759 MB / 1.584 GB, free: 11.46 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.8136, allocations: 10.03 kB / 1.584 GB, free: 11.45 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.8136, allocations: 0 / 1.584 GB, free: 11.45 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.8237, allocations: 1.73 MB / 1.586 GB, free: 9.711 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.8247, allocations: 127.8 kB / 1.586 GB, free: 9.586 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.8391, allocations: 6.933 MB / 1.592 GB, free: 2.414 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.8405, allocations: 44.02 kB / 1.592 GB, free: 2.371 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.8407, allocations: 59.89 kB / 1.593 GB, free: 2.312 MB / 1.279 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.0005291/0.8412, allocations: 210.6 kB / 1.593 GB, free: 2.098 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.8415, allocations: 83.48 kB / 1.593 GB, free: 2.016 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.8478, allocations: 1.927 MB / 1.595 GB, free: 72 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.8478, allocations: 8 kB / 1.595 GB, free: 64 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.8478, allocations: 4 kB / 1.595 GB, free: 60 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.8478, allocations: 3.984 kB / 1.595 GB, free: 56 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.8559, allocations: 2.81 MB / 1.597 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.856, allocations: 4.031 kB / 1.597 GB, free: 13.17 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009141/0.8569, allocations: 119.8 kB / 1.598 GB, free: 13.05 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003603/0.8605, allocations: 0.8016 MB / 1.598 GB, free: 12.24 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.8607, allocations: 19.98 kB / 1.598 GB, free: 12.22 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007837/0.8685, allocations: 4.647 MB / 1.603 GB, free: 7.348 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.8685, allocations: 128 / 1.603 GB, free: 7.348 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007361/0.8759, allocations: 2.469 MB / 1.605 GB, free: 4.836 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006797/0.8765, allocations: 179.4 kB / 1.605 GB, free: 4.66 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.8767, allocations: 19.98 kB / 1.605 GB, free: 4.641 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.8776, allocations: 43.95 kB / 1.606 GB, free: 4.598 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.8779, allocations: 64.2 kB / 1.606 GB, free: 4.535 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.8779, allocations: 19.98 kB / 1.606 GB, free: 4.516 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0007987/0.8787, allocations: 0.5029 MB / 1.606 GB, free: 4.016 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8787, allocations: 4 kB / 1.606 GB, free: 4.012 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001391/0.8801, allocations: 303.8 kB / 1.606 GB, free: 3.715 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.0004676/0.8806, allocations: 183.2 kB / 1.607 GB, free: 3.527 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004943/0.8855, allocations: 1.6 MB / 1.608 GB, free: 1.902 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8855, allocations: 0 / 1.608 GB, free: 1.902 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.8881, allocations: 0.9567 MB / 1.609 GB, free: 0.9219 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.8907, allocations: 476.3 kB / 1.61 GB, free: 472 kB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8134/1.704, allocations: 1.846 MB / 1.611 GB, free: 255.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/1.705, allocations: 0.9848 MB / 1.612 GB, free: 254.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005644/1.705, allocations: 83.31 kB / 1.612 GB, free: 254.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.313e-06/1.705, allocations: 0.5312 kB / 1.612 GB, free: 254.7 MB / 1.295 GB Notification: Performance of Templates: time 0.04252/1.748, allocations: 21 MB / 1.633 GB, free: 250.6 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/jenkins1/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: 17.24688899499597]