Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001458/0.001458, 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.00177/0.00177, allocations: 216.4 kB / 22.25 MB, free: 5.078 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.996 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.368/3.368, allocations: 0.5096 GB / 0.8147 GB, free: 17.16 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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [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.00206/0.00206, allocations: 64.78 kB / 1.184 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4631, allocations: 181.4 MB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002819/0.4659, allocations: 1.314 MB / 1.363 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.4666, allocations: 283 kB / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.4666, allocations: 0 / 1.363 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.4666, allocations: 7.938 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.4668, allocations: 11.92 kB / 1.363 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.4671, allocations: 71.7 kB / 1.363 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.4672, allocations: 27.92 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.213e-05/0.4673, allocations: 4 kB / 1.363 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.4674, allocations: 35.84 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.271e-05/0.4675, allocations: 11.94 kB / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.4675, allocations: 0 / 1.363 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.4677, allocations: 75.91 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.4677, allocations: 3.938 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.4677, allocations: 23.84 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.4679, allocations: 75.75 kB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4679, allocations: 0 / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4679, allocations: 0 / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.4679, allocations: 0 / 1.363 GB, free: 14.12 MB / 1.061 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.0005035/0.4684, allocations: 283.6 kB / 1.364 GB, free: 13.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4685, allocations: 8.031 kB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004956/0.469, allocations: 52.86 kB / 1.364 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4691, allocations: 114.5 kB / 1.364 GB, free: 13.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.4691, allocations: 8.359 kB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4691, allocations: 384 / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4693, allocations: 65.58 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4694, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.4694, allocations: 0 / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4694, allocations: 3.938 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.4695, allocations: 35.97 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.47, allocations: 236 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.4702, allocations: 38.56 kB / 1.364 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.216e-05/0.4702, allocations: 16.84 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.4702, allocations: 0 / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.4703, allocations: 42.5 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.4703, allocations: 0 / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002783/0.4706, allocations: 69.62 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.4706, allocations: 51.41 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.876e-05/0.4707, allocations: 105.8 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.4707, allocations: 29.64 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.4708, allocations: 92.25 kB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.4708, allocations: 7.953 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.4708, allocations: 9.719 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.471, allocations: 318.8 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.471, allocations: 11.98 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.4711, allocations: 11.98 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.384e-05/0.4712, allocations: 36.84 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4712, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001361/0.4713, allocations: 57.67 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.4713, allocations: 6.031 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4713, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4714, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.4715, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.4715, allocations: 320 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.4715, allocations: 12.02 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.4715, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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 8.984e-05/0.4716, allocations: 113.8 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.4716, allocations: 3.953 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.4717, allocations: 11.56 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4717, allocations: 4 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4717, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4717, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.4719, allocations: 140.6 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4719, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.4719, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4719, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.4719, allocations: 0 / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.4719, allocations: 7.969 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4719, allocations: 0 / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.4722, allocations: 155.5 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.4722, allocations: 11.94 kB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.4722, allocations: 0 / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.4723, allocations: 4 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.4723, allocations: 7.922 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.4723, allocations: 3.938 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.4724, allocations: 91.22 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4724, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002119/0.4726, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001329/0.4727, allocations: 103.3 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.4729, allocations: 23.92 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4729, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/0.473, allocations: 15.98 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.4733, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.4737, allocations: 130.3 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.474, allocations: 0.6807 MB / 1.366 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.474, allocations: 4 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.4741, allocations: 11.42 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4741, allocations: 4 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of Templates: time 0.002974/0.4771, allocations: 442.4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.69142640568316]