Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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.002068/0.002068, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002503/0.002503, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.607/1.607, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.527/3.527, allocations: 0.5049 GB / 0.8065 GB, free: 23.1 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.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05") [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.002102/0.002102, allocations: 64.77 kB / 1.172 GB, free: 17.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4577, allocations: 180.2 MB / 1.348 GB, free: 9.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05): time 0.00269/0.4604, allocations: 1.321 MB / 1.349 GB, free: 8.129 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006573/0.461, allocations: 307.3 kB / 1.35 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.4611, allocations: 3.938 kB / 1.35 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.4611, allocations: 4 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.4613, allocations: 19.86 kB / 1.35 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002471/0.4615, allocations: 63.78 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.4616, allocations: 35.84 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.4617, allocations: 7.938 kB / 1.35 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4618, allocations: 35.91 kB / 1.35 GB, free: 7.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.435e-05/0.4619, allocations: 11.94 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.4619, allocations: 3.984 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.462, allocations: 71.91 kB / 1.35 GB, free: 7.574 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.4621, allocations: 7.938 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.4621, allocations: 11.94 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.4623, allocations: 83.66 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4623, allocations: 0 / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4623, allocations: 0 / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4623, allocations: 0 / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005018/0.4628, allocations: 359.2 kB / 1.35 GB, free: 7.074 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4628, allocations: 11.98 kB / 1.35 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004723/0.4633, allocations: 44.86 kB / 1.351 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4635, allocations: 176.3 kB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4635, allocations: 4.359 kB / 1.351 GB, free: 6.805 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.4635, allocations: 4.375 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4637, allocations: 61.59 kB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4637, allocations: 0 / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.4637, allocations: 3.984 kB / 1.351 GB, free: 6.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4637, allocations: 4 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.464, allocations: 51.88 kB / 1.351 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.4642, allocations: 165.7 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.4646, allocations: 86.5 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.4647, allocations: 28.91 kB / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4647, allocations: 7.938 kB / 1.351 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4648, allocations: 30.56 kB / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4648, allocations: 0 / 1.351 GB, free: 6.293 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0004161/0.4652, allocations: 105.5 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.4652, allocations: 55.41 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.4653, allocations: 117.8 kB / 1.351 GB, free: 5.992 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.4654, allocations: 25.7 kB / 1.351 GB, free: 5.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.4654, allocations: 84.12 kB / 1.351 GB, free: 5.875 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.4654, allocations: 15.88 kB / 1.352 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.4655, allocations: 21.67 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4657, allocations: 314.8 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4658, allocations: 23.98 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.983e-05/0.4658, allocations: 23.97 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.466, allocations: 48.77 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.466, allocations: 0 / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002468/0.4663, allocations: 81.58 kB / 1.352 GB, free: 5.332 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4663, allocations: 12 kB / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4663, allocations: 0 / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.4663, allocations: 0 / 1.352 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.4665, allocations: 11.98 kB / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4665, allocations: 0 / 1.352 GB, free: 5.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.4665, allocations: 7.938 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.4666, allocations: 7.984 kB / 1.352 GB, free: 5.293 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.4667, allocations: 109.8 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.4667, allocations: 15.89 kB / 1.352 GB, free: 5.16 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.4667, allocations: 3.906 kB / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4667, allocations: 0 / 1.352 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4667, allocations: 4 kB / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.4667, allocations: 0 / 1.352 GB, free: 5.141 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.4669, allocations: 169.7 kB / 1.352 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4669, allocations: 7.875 kB / 1.352 GB, free: 4.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.467, allocations: 15.97 kB / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.467, allocations: 0 / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.467, allocations: 0 / 1.352 GB, free: 4.902 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.467, allocations: 4 kB / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.467, allocations: 0 / 1.352 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.4673, allocations: 109.4 kB / 1.352 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/0.4674, allocations: 89.38 kB / 1.353 GB, free: 4.668 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4674, allocations: 3.984 kB / 1.353 GB, free: 4.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.4675, allocations: 4 kB / 1.353 GB, free: 4.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.4675, allocations: 7.984 kB / 1.353 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4675, allocations: 7.938 kB / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.811e-05/0.4676, allocations: 91.27 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4676, allocations: 3.938 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001856/0.4678, allocations: 8 kB / 1.353 GB, free: 4.543 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.4679, allocations: 96.94 kB / 1.353 GB, free: 4.441 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.4682, allocations: 51.95 kB / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4682, allocations: 0 / 1.353 GB, free: 4.391 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.4683, allocations: 27.97 kB / 1.353 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.4685, allocations: 7.938 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.4691, allocations: 177.9 kB / 1.353 GB, free: 4.156 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4695, allocations: 0.6768 MB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 6.227e-05/0.4695, allocations: 8 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.4696, allocations: 19.44 kB / 1.354 GB, free: 3.43 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4696, allocations: 3.938 kB / 1.354 GB, free: 3.426 MB / 1.045 GB Notification: Performance of Templates: time 0.003039/0.4726, allocations: 0.6898 MB / 1.354 GB, free: 2.742 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw05.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw05.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: 9.889560190029442]