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.002371/0.002371, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.002863/0.002863, allocations: 173.2 kB / 22.76 MB, free: 1.656 MB / 18.57 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.557/1.557, allocations: 177.2 MB / 203.1 MB, free: 5.609 MB / 186.7 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.339/3.339, allocations: 429.4 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.821e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002482/0.00251, allocations: 1.325 MB / 0.8787 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005966/0.003107, allocations: 275.9 kB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.003148, allocations: 2.594 kB / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.003165, allocations: 0 / 0.879 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.003271, allocations: 11.92 kB / 0.879 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.003569, allocations: 69.64 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.58e-05/0.003654, allocations: 35.8 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.003701, allocations: 7.938 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.003848, allocations: 30.34 kB / 0.8792 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.106e-05/0.003899, allocations: 15.92 kB / 0.8792 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.003916, allocations: 0 / 0.8792 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.00408, allocations: 64.42 kB / 0.8792 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.004107, allocations: 8.516 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.004131, allocations: 8.938 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.004317, allocations: 75.83 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00432, allocations: 0 / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.00432, allocations: 1.594 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004324, allocations: 0 / 0.8793 GB, free: 4.781 MB / 0.8386 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.0007153/0.005039, allocations: 388 kB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.005083, allocations: 8.031 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.005601, allocations: 56.8 kB / 0.8798 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.005728, allocations: 120.5 kB / 0.8799 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.005743, allocations: 4.312 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.005758, allocations: 4.375 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.005988, allocations: 91.91 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.005999, allocations: 3.938 kB / 0.88 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.006019, allocations: 4 kB / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.006023, allocations: 0 / 0.88 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.006209, allocations: 35.97 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.006683, allocations: 271.8 kB / 0.8803 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.006844, allocations: 47.05 kB / 0.8803 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.3e-05/0.006917, allocations: 31.67 kB / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.006933, allocations: 0 / 0.8803 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.006977, allocations: 37.39 kB / 0.8804 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.006977, allocations: 0 / 0.8804 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003104/0.007288, allocations: 81.55 kB / 0.8805 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.007331, allocations: 51.41 kB / 0.8805 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.007471, allocations: 169.9 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.007492, allocations: 25.7 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.007574, allocations: 130.9 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.00759, allocations: 3.953 kB / 0.8808 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.007638, allocations: 23.5 kB / 0.8808 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002764/0.007914, allocations: 496.1 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.465e-05/0.007989, allocations: 11.98 kB / 0.8813 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.008042, allocations: 11.98 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.00816, allocations: 35.67 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008162, allocations: 0 / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.008337, allocations: 69.61 kB / 0.8814 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.00835, allocations: 4 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.008354, allocations: 0 / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.008367, allocations: 0 / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.008454, allocations: 8 kB / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.008458, allocations: 0 / 0.8814 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.008515, allocations: 7.984 kB / 0.8815 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.008521, allocations: 0 / 0.8815 GB, free: 2.383 MB / 0.8386 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 0.000116/0.008637, allocations: 160.5 kB / 0.8816 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.008672, allocations: 11.89 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.008699, allocations: 7.656 kB / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.0087, allocations: 0 / 0.8816 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.008706, allocations: 3.984 kB / 0.8816 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.008709, allocations: 4 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.008877, allocations: 112.6 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.008878, allocations: 0 / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.008952, allocations: 15.98 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.008961, allocations: 7.938 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008969, allocations: 0 / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00897, allocations: 0 / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.008971, allocations: 0 / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.009236, allocations: 211.9 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.009272, allocations: 15.88 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.009288, allocations: 3.984 kB / 0.882 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.428e-05/0.009372, allocations: 4 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.009393, allocations: 0 / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.009398, allocations: 0 / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.672e-05/0.009484, allocations: 135.2 kB / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.009484, allocations: 0 / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002117/0.009696, allocations: 4 kB / 0.8821 GB, free: 1.637 MB / 0.8386 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.0001288/0.009825, allocations: 99.28 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.01001, allocations: 43.59 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01002, allocations: 0 / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.01009, allocations: 27.67 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01032, allocations: 0 / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.01072, allocations: 155.8 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.074e-05/0.0108, allocations: 67.2 kB / 0.8825 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.744e-05/0.01085, allocations: 4 kB / 0.8825 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.01088, allocations: 8.5 kB / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.01088, allocations: 0 / 0.8825 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of Templates: time 0.00293/0.01381, allocations: 461.7 kB / 0.8829 GB, free: 0.7344 MB / 0.8386 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] 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: 8.368284920929]