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.001739/0.001739, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.002268/0.002268, allocations: 212.9 kB / 22.25 MB, free: 5.117 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.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.805 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.602/3.602, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 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.001981/0.001981, allocations: 71.27 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5385, allocations: 181.9 MB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2658/0.8043, allocations: 170.5 MB / 1.53 GB, free: 2.453 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008905/0.8132, allocations: 3.94 MB / 1.534 GB, free: 14.5 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.8147, allocations: 23.81 kB / 1.534 GB, free: 14.48 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.8169, allocations: 469 kB / 1.535 GB, free: 14.02 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006158/0.823, allocations: 1.63 MB / 1.536 GB, free: 12.38 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004999/0.828, allocations: 1.399 MB / 1.538 GB, free: 10.98 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.002958/0.831, allocations: 1.682 MB / 1.539 GB, free: 9.297 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.8324, allocations: 0.8422 MB / 1.54 GB, free: 8.441 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.8349, allocations: 1.141 MB / 1.541 GB, free: 7.297 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001279/0.8362, allocations: 0.8565 MB / 1.542 GB, free: 6.438 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.8364, allocations: 104 kB / 1.542 GB, free: 6.336 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.8392, allocations: 1.13 MB / 1.543 GB, free: 5.203 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005138/0.8397, allocations: 378.9 kB / 1.544 GB, free: 4.832 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.8403, allocations: 474.1 kB / 1.544 GB, free: 4.367 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.8434, allocations: 1.698 MB / 1.546 GB, free: 2.664 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8434, allocations: 0 / 1.546 GB, free: 2.664 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8434, allocations: 0 / 1.546 GB, free: 2.664 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.063e-05/0.8434, allocations: 0 / 1.546 GB, free: 2.664 MB / 1.232 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.002851/0.8462, allocations: 1.216 MB / 1.547 GB, free: 1.41 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.8463, allocations: 12.03 kB / 1.547 GB, free: 1.398 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/0.8493, allocations: 434.8 kB / 1.547 GB, free: 0.9727 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.8505, allocations: 0.5849 MB / 1.548 GB, free: 368 kB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/0.8506, allocations: 33 kB / 1.548 GB, free: 336 kB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.8507, allocations: 48 kB / 1.548 GB, free: 288 kB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.8529, allocations: 1.183 MB / 1.549 GB, free: 15.02 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.8529, allocations: 7.938 kB / 1.549 GB, free: 15.01 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.853, allocations: 19.94 kB / 1.549 GB, free: 14.99 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.853, allocations: 31.98 kB / 1.549 GB, free: 14.96 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.8556, allocations: 1.206 MB / 1.55 GB, free: 13.75 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006416/0.862, allocations: 3.816 MB / 1.554 GB, free: 9.828 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.8642, allocations: 0.8396 MB / 1.555 GB, free: 8.98 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.8654, allocations: 0.576 MB / 1.555 GB, free: 8.402 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/0.866, allocations: 88.34 kB / 1.556 GB, free: 8.316 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.866, allocations: 39 kB / 1.556 GB, free: 8.27 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00234/0.8683, allocations: 0.6205 MB / 1.556 GB, free: 7.648 MB / 1.248 GB Notification: Performance of pre-optimization done (n=50): time 8.826e-06/0.8683, allocations: 0 / 1.556 GB, free: 7.648 MB / 1.248 GB Notification: Performance of matching and sorting (n=50): time 0.01902/0.8874, allocations: 3.945 MB / 1.56 GB, free: 3.684 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.8874, allocations: 63.78 kB / 1.56 GB, free: 3.609 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.8885, allocations: 0.5782 MB / 1.561 GB, free: 3.023 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/0.8887, allocations: 33.7 kB / 1.561 GB, free: 2.984 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.889, allocations: 329.2 kB / 1.561 GB, free: 2.656 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.8894, allocations: 194.4 kB / 1.561 GB, free: 2.465 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003897/0.8898, allocations: 154 kB / 1.561 GB, free: 2.305 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.89, allocations: 370.8 kB / 1.562 GB, free: 1.934 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.8911, allocations: 0.4928 MB / 1.562 GB, free: 1.441 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.8924, allocations: 0.6291 MB / 1.563 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.8948, allocations: 1.094 MB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.8948, allocations: 4 kB / 1.564 GB, free: 15.65 MB / 1.264 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01217/0.907, allocations: 2.74 MB / 1.567 GB, free: 12.89 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.907, allocations: 4 kB / 1.567 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.907, allocations: 4 kB / 1.567 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009315/0.9164, allocations: 1.726 MB / 1.568 GB, free: 11.15 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/0.9173, allocations: 127.8 kB / 1.568 GB, free: 11.03 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.9309, allocations: 6.828 MB / 1.575 GB, free: 3.984 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.9321, allocations: 47.95 kB / 1.575 GB, free: 3.938 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.9323, allocations: 51.91 kB / 1.575 GB, free: 3.887 MB / 1.264 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.0006374/0.933, allocations: 218.7 kB / 1.575 GB, free: 3.664 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003625/0.9333, allocations: 75.58 kB / 1.575 GB, free: 3.59 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006156/0.9395, allocations: 1.891 MB / 1.577 GB, free: 1.684 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.9395, allocations: 8 kB / 1.577 GB, free: 1.676 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.9395, allocations: 4 kB / 1.577 GB, free: 1.672 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.9395, allocations: 11.92 kB / 1.577 GB, free: 1.66 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007662/0.9472, allocations: 2.608 MB / 1.58 GB, free: 14.98 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.9472, allocations: 3.938 kB / 1.58 GB, free: 14.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/0.948, allocations: 119.8 kB / 1.58 GB, free: 14.86 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/0.9514, allocations: 0.7978 MB / 1.581 GB, free: 14.05 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.9514, allocations: 15.98 kB / 1.581 GB, free: 14.04 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007787/0.9592, allocations: 4.557 MB / 1.585 GB, free: 9.277 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.9592, allocations: 0 / 1.585 GB, free: 9.277 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007522/0.9668, allocations: 2.446 MB / 1.588 GB, free: 6.789 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/0.9675, allocations: 167.4 kB / 1.588 GB, free: 6.625 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.9678, allocations: 12 kB / 1.588 GB, free: 6.613 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.9688, allocations: 43.94 kB / 1.588 GB, free: 6.57 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.9691, allocations: 56.47 kB / 1.588 GB, free: 6.516 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/0.9692, allocations: 19.98 kB / 1.588 GB, free: 6.496 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008164/0.97, allocations: 415 kB / 1.588 GB, free: 6.094 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.97, allocations: 0 / 1.588 GB, free: 6.094 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001826/0.9718, allocations: 311.7 kB / 1.589 GB, free: 5.789 MB / 1.279 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.0005945/0.9724, allocations: 187 kB / 1.589 GB, free: 5.598 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.005177/0.9776, allocations: 1.596 MB / 1.59 GB, free: 3.977 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9776, allocations: 4.062 kB / 1.59 GB, free: 3.973 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.9802, allocations: 0.9604 MB / 1.591 GB, free: 2.984 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.9824, allocations: 367.1 kB / 1.592 GB, free: 2.633 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004667/0.9871, allocations: 1.793 MB / 1.593 GB, free: 0.8008 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/0.9878, allocations: 392.8 kB / 1.594 GB, free: 396 kB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009514/0.9887, allocations: 145.4 kB / 1.594 GB, free: 248 kB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.9891, allocations: 67.39 kB / 1.594 GB, free: 180 kB / 1.279 GB Notification: Performance of SimCode: time 1.473e-06/0.9891, allocations: 0 / 1.594 GB, free: 180 kB / 1.279 GB Notification: Performance of Templates: time 1.1/2.089, allocations: 24.72 MB / 1.618 GB, free: 113.2 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.4968839045614]