Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001994/0.001994, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00259/0.00259, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.953/1.953, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.227/3.227, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00222/0.00222, allocations: 68.62 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3545, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2086/0.563, allocations: 170.5 MB / 1.492 GB, free: 6.738 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006552/0.5696, allocations: 3.785 MB / 1.496 GB, free: 2.945 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.5703, allocations: 31.75 kB / 1.496 GB, free: 2.914 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.5715, allocations: 457.1 kB / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.5752, allocations: 1.552 MB / 1.498 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003604/0.5788, allocations: 1.396 MB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.5811, allocations: 1.631 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.5824, allocations: 0.846 MB / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.5847, allocations: 1.118 MB / 1.503 GB, free: 11.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.5863, allocations: 0.8369 MB / 1.503 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.5866, allocations: 100 kB / 1.503 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.5892, allocations: 1.091 MB / 1.505 GB, free: 9.863 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005536/0.5898, allocations: 370.9 kB / 1.505 GB, free: 9.5 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008282/0.5906, allocations: 454.2 kB / 1.505 GB, free: 9.055 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.5937, allocations: 1.647 MB / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5937, allocations: 0 / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5937, allocations: 0 / 1.507 GB, free: 7.402 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.824e-05/0.5937, allocations: 0 / 1.507 GB, free: 7.402 MB / 1.201 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.003367/0.5971, allocations: 1.19 MB / 1.508 GB, free: 6.176 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5971, allocations: 12.03 kB / 1.508 GB, free: 6.164 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.5988, allocations: 243.2 kB / 1.508 GB, free: 5.926 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.6, allocations: 0.5538 MB / 1.509 GB, free: 5.34 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.349e-05/0.6001, allocations: 41 kB / 1.509 GB, free: 5.301 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.6002, allocations: 52 kB / 1.509 GB, free: 5.25 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.602, allocations: 1.046 MB / 1.51 GB, free: 4.125 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.6021, allocations: 3.938 kB / 1.51 GB, free: 4.121 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/0.6021, allocations: 31.97 kB / 1.51 GB, free: 4.09 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-05/0.6022, allocations: 31.92 kB / 1.51 GB, free: 4.059 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.604, allocations: 0.9992 MB / 1.511 GB, free: 3.059 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/0.6096, allocations: 3.596 MB / 1.515 GB, free: 15.35 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.6106, allocations: 0.5586 MB / 1.515 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008101/0.6115, allocations: 489.9 kB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000736/0.6122, allocations: 128.3 kB / 1.516 GB, free: 14.18 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.6122, allocations: 39 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002382/0.6146, allocations: 0.6206 MB / 1.516 GB, free: 13.51 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 5.351e-06/0.6146, allocations: 0 / 1.516 GB, free: 13.51 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01846/0.6331, allocations: 3.664 MB / 1.52 GB, free: 9.828 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.6331, allocations: 55.84 kB / 1.52 GB, free: 9.762 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/0.6341, allocations: 0.5626 MB / 1.52 GB, free: 9.188 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.6343, allocations: 37.64 kB / 1.521 GB, free: 9.145 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.6346, allocations: 333.1 kB / 1.521 GB, free: 8.812 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.6348, allocations: 190.4 kB / 1.521 GB, free: 8.625 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003102/0.6351, allocations: 150 kB / 1.521 GB, free: 8.473 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6353, allocations: 378.8 kB / 1.522 GB, free: 8.094 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000768/0.6361, allocations: 392.8 kB / 1.522 GB, free: 7.711 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/0.637, allocations: 0.5237 MB / 1.522 GB, free: 7.148 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.6387, allocations: 0.9219 MB / 1.523 GB, free: 6.199 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6387, allocations: 0 / 1.523 GB, free: 6.199 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01185/0.6505, allocations: 2.537 MB / 1.526 GB, free: 3.645 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.6505, allocations: 8 kB / 1.526 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6505, allocations: 0 / 1.526 GB, free: 3.637 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.6606, allocations: 1.73 MB / 1.527 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005752/0.6612, allocations: 95.8 kB / 1.528 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.6752, allocations: 6.825 MB / 1.534 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008553/0.6761, allocations: 23.98 kB / 1.534 GB, free: 10.74 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.6763, allocations: 43.94 kB / 1.534 GB, free: 10.7 MB / 1.232 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.0005107/0.6768, allocations: 221.2 kB / 1.535 GB, free: 10.47 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/0.677, allocations: 71.53 kB / 1.535 GB, free: 10.4 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005473/0.6825, allocations: 1.708 MB / 1.536 GB, free: 8.684 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6825, allocations: 11.94 kB / 1.536 GB, free: 8.672 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6825, allocations: 4 kB / 1.536 GB, free: 8.668 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.6825, allocations: 7.922 kB / 1.536 GB, free: 8.66 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006479/0.689, allocations: 2.324 MB / 1.539 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.689, allocations: 11.97 kB / 1.539 GB, free: 6.262 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.6895, allocations: 91.83 kB / 1.539 GB, free: 6.172 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003661/0.6932, allocations: 0.7977 MB / 1.539 GB, free: 5.367 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.6932, allocations: 12 kB / 1.539 GB, free: 5.355 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007533/0.7008, allocations: 4.569 MB / 1.544 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7008, allocations: 0 / 1.544 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.7067, allocations: 2.123 MB / 1.546 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.7073, allocations: 147.4 kB / 1.546 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.7074, allocations: 12 kB / 1.546 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.7081, allocations: 23.98 kB / 1.546 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.7083, allocations: 56.34 kB / 1.546 GB, free: 14.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.7083, allocations: 16 kB / 1.546 GB, free: 14.16 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005705/0.7089, allocations: 403.1 kB / 1.547 GB, free: 13.77 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7089, allocations: 4 kB / 1.547 GB, free: 13.77 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001078/0.71, allocations: 303.6 kB / 1.547 GB, free: 13.47 MB / 1.248 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.0004412/0.7104, allocations: 187 kB / 1.547 GB, free: 13.28 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.7142, allocations: 1.425 MB / 1.548 GB, free: 11.83 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.7142, allocations: 0 / 1.548 GB, free: 11.83 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.7163, allocations: 0.8596 MB / 1.549 GB, free: 10.94 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.7181, allocations: 351.5 kB / 1.55 GB, free: 10.6 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.7214, allocations: 1.712 MB / 1.551 GB, free: 8.848 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.7219, allocations: 392.7 kB / 1.552 GB, free: 8.438 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005584/0.7224, allocations: 141.3 kB / 1.552 GB, free: 8.297 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.7226, allocations: 63.41 kB / 1.552 GB, free: 8.234 MB / 1.248 GB Notification: Performance of SimCode: time 7.41e-07/0.7226, allocations: 0 / 1.552 GB, free: 8.234 MB / 1.248 GB Notification: Performance of Templates: time 0.03788/0.7605, allocations: 22.34 MB / 1.574 GB, free: 2.242 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.385313307866454]