Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.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.001082/0.001082, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001135/0.001135, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8988/0.8988, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 389 MB / 0.6338 GB, free: 12.75 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.826e-05, allocations: 6.219 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7362/0.7362, allocations: 153.4 MB / 1.151 GB, free: 3.969 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.74, allocations: 2.275 MB / 1.153 GB, free: 2.43 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002443/0.7402, allocations: 17.19 kB / 1.153 GB, free: 2.422 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.741, allocations: 243.1 kB / 1.153 GB, free: 2.27 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.7429, allocations: 0.9984 MB / 1.154 GB, free: 1.734 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.7445, allocations: 0.8651 MB / 1.155 GB, free: 1.32 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009643/0.7455, allocations: 0.9679 MB / 1.156 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.7459, allocations: 267.1 kB / 1.156 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.7469, allocations: 0.7279 MB / 1.157 GB, free: 436 kB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.7473, allocations: 275.7 kB / 1.157 GB, free: 348 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.7473, allocations: 38.03 kB / 1.157 GB, free: 344 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.7485, allocations: 0.8643 MB / 1.158 GB, free: 16 kB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.7487, allocations: 161.4 kB / 1.158 GB, free: 15.94 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0001749/0.7489, allocations: 168.5 kB / 1.158 GB, free: 15.88 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.7501, allocations: 0.9604 MB / 1.159 GB, free: 15.55 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7501, allocations: 0.7969 kB / 1.159 GB, free: 15.55 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7501, allocations: 0 / 1.159 GB, free: 15.55 MB / 1.026 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.7501, allocations: 1.125 kB / 1.159 GB, free: 15.55 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00102/0.7511, allocations: 0.7447 MB / 1.16 GB, free: 15 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7512, allocations: 11.3 kB / 1.16 GB, free: 15 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009625/0.7521, allocations: 230.5 kB / 1.16 GB, free: 14.95 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.7527, allocations: 328.7 kB / 1.161 GB, free: 14.71 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.7527, allocations: 21.84 kB / 1.161 GB, free: 14.71 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.1e-05/0.7528, allocations: 32.86 kB / 1.161 GB, free: 14.7 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.7534, allocations: 458.3 kB / 1.161 GB, free: 14.43 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.7534, allocations: 0 / 1.161 GB, free: 14.43 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.7534, allocations: 10.72 kB / 1.161 GB, free: 14.43 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.7535, allocations: 11.78 kB / 1.161 GB, free: 14.43 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005144/0.754, allocations: 309.3 kB / 1.161 GB, free: 14.34 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.7554, allocations: 1.269 MB / 1.163 GB, free: 13.38 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.7559, allocations: 273.5 kB / 1.163 GB, free: 13.28 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.7561, allocations: 138.9 kB / 1.163 GB, free: 13.23 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.7564, allocations: 82.41 kB / 1.163 GB, free: 13.22 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.7564, allocations: 36.5 kB / 1.163 GB, free: 13.18 MB / 1.026 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/0.7564, allocations: 1.438 kB / 1.163 GB, free: 13.18 MB / 1.026 GB Notification: Performance of matching and sorting (n=23): time 0.0008336/0.7573, allocations: 424.8 kB / 1.163 GB, free: 13.03 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.7573, allocations: 59.28 kB / 1.164 GB, free: 12.96 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.7576, allocations: 319.4 kB / 1.164 GB, free: 12.79 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.7576, allocations: 31.36 kB / 1.164 GB, free: 12.76 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.7578, allocations: 215.9 kB / 1.164 GB, free: 12.58 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.7578, allocations: 91.61 kB / 1.164 GB, free: 12.51 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.7579, allocations: 51.19 kB / 1.164 GB, free: 12.48 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003007/0.7582, allocations: 341.3 kB / 1.165 GB, free: 12.15 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.7584, allocations: 102.6 kB / 1.165 GB, free: 12.12 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.7587, allocations: 211.8 kB / 1.165 GB, free: 11.98 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.7591, allocations: 259.5 kB / 1.165 GB, free: 11.87 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.7591, allocations: 3.375 kB / 1.165 GB, free: 11.87 MB / 1.026 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005072/0.7596, allocations: 329.5 kB / 1.165 GB, free: 11.74 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7596, allocations: 5.25 kB / 1.165 GB, free: 11.74 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.7596, allocations: 2.047 kB / 1.165 GB, free: 11.74 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7596, allocations: 1.219 kB / 1.165 GB, free: 11.74 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.7598, allocations: 63.52 kB / 1.165 GB, free: 11.73 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.7598, allocations: 1.859 kB / 1.165 GB, free: 11.73 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.7599, allocations: 27.52 kB / 1.165 GB, free: 11.72 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.76, allocations: 16.56 kB / 1.166 GB, free: 11.71 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001393/0.7601, allocations: 168.4 kB / 1.166 GB, free: 11.57 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.7602, allocations: 35.98 kB / 1.166 GB, free: 11.55 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.7607, allocations: 332.2 kB / 1.166 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.7607, allocations: 3.688 kB / 1.166 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.7607, allocations: 1.375 kB / 1.166 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.7607, allocations: 4.797 kB / 1.166 GB, free: 11.41 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.7618, allocations: 0.7704 MB / 1.167 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.7618, allocations: 2.719 kB / 1.167 GB, free: 10.95 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.762, allocations: 57.14 kB / 1.167 GB, free: 10.94 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.762, allocations: 3.781 kB / 1.167 GB, free: 10.94 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.762, allocations: 13.41 kB / 1.167 GB, free: 10.93 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/0.762, allocations: 6.406 kB / 1.167 GB, free: 10.93 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.762, allocations: 11.08 kB / 1.167 GB, free: 10.92 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.7628, allocations: 0.5741 MB / 1.167 GB, free: 10.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.7629, allocations: 64.28 kB / 1.167 GB, free: 10.56 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.7629, allocations: 7.719 kB / 1.168 GB, free: 10.56 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.7631, allocations: 27.45 kB / 1.168 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.7632, allocations: 18.61 kB / 1.168 GB, free: 10.55 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.7632, allocations: 13.19 kB / 1.168 GB, free: 10.55 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001827/0.7634, allocations: 228.1 kB / 1.168 GB, free: 10.43 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.7634, allocations: 4 kB / 1.168 GB, free: 10.42 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003165/0.7637, allocations: 127.9 kB / 1.168 GB, free: 10.39 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0002583/0.7639, allocations: 161.7 kB / 1.168 GB, free: 10.28 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0004859/0.7644, allocations: 253.5 kB / 1.168 GB, free: 10.21 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7644, allocations: 1.062 kB / 1.168 GB, free: 10.21 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.7646, allocations: 129.8 kB / 1.168 GB, free: 10.17 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.7652, allocations: 159.8 kB / 1.169 GB, free: 10.13 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.7664, allocations: 0.8634 MB / 1.169 GB, free: 9.586 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.7666, allocations: 221.3 kB / 1.17 GB, free: 9.492 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.7667, allocations: 33.86 kB / 1.17 GB, free: 9.484 MB / 1.026 GB Notification: Performance of SimCode: time 4.31e-07/0.7667, allocations: 0 / 1.17 GB, free: 9.484 MB / 1.026 GB Notification: Performance of Templates: time 0.007995/0.7747, allocations: 6.18 MB / 1.176 GB, free: 8.875 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.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.344336586073041]