Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001755/0.001755, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00236/0.00236, allocations: 212 kB / 22.24 MB, free: 5.242 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.781 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.159/3.159, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] 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.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_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_12_Buildings.Airflow.Multizone.Examples.Orifice") [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.002145/0.002145, allocations: 71.42 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2084/0.5299, allocations: 153.5 MB / 1.475 GB, free: 7.836 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.004646/0.5346, allocations: 2.174 MB / 1.478 GB, free: 5.656 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005517/0.5351, allocations: 15.88 kB / 1.478 GB, free: 5.641 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.536, allocations: 238.3 kB / 1.478 GB, free: 5.406 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002716/0.5387, allocations: 0.9373 MB / 1.479 GB, free: 4.465 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.5412, allocations: 0.8421 MB / 1.48 GB, free: 3.625 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001547/0.5428, allocations: 0.9663 MB / 1.48 GB, free: 2.656 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.5433, allocations: 267.4 kB / 1.481 GB, free: 2.391 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.5446, allocations: 0.6151 MB / 1.481 GB, free: 1.773 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.5451, allocations: 310.6 kB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.5452, allocations: 32 kB / 1.482 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.547, allocations: 0.8141 MB / 1.482 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.5472, allocations: 147.5 kB / 1.483 GB, free: 488 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/0.5474, allocations: 207 kB / 1.483 GB, free: 280 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.5491, allocations: 0.8759 MB / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5491, allocations: 0 / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5492, allocations: 0 / 1.484 GB, free: 15.39 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.5492, allocations: 0 / 1.484 GB, free: 15.39 MB / 1.186 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.001489/0.5507, allocations: 0.7417 MB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5507, allocations: 12.03 kB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.552, allocations: 183.4 kB / 1.485 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.5528, allocations: 331.8 kB / 1.485 GB, free: 14.08 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.5529, allocations: 24.66 kB / 1.485 GB, free: 14.06 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/0.5529, allocations: 28 kB / 1.485 GB, free: 14.03 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007422/0.5537, allocations: 428.3 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5537, allocations: 3.984 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.5537, allocations: 16 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.5537, allocations: 15.94 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.5543, allocations: 253.7 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.5562, allocations: 1.242 MB / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.5567, allocations: 195.3 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.5569, allocations: 104.8 kB / 1.487 GB, free: 11.69 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007123/0.5576, allocations: 131.7 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.5576, allocations: 38.56 kB / 1.487 GB, free: 11.51 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.5576, allocations: 4.109 kB / 1.487 GB, free: 11.51 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0009909/0.5586, allocations: 352.1 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5587, allocations: 55.41 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003788/0.5591, allocations: 321.7 kB / 1.488 GB, free: 10.77 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.5591, allocations: 29.7 kB / 1.488 GB, free: 10.73 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.5593, allocations: 224.5 kB / 1.488 GB, free: 10.51 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/0.5594, allocations: 79.23 kB / 1.488 GB, free: 10.43 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.5595, allocations: 57.69 kB / 1.488 GB, free: 10.37 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5596, allocations: 346.8 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.5598, allocations: 83.88 kB / 1.489 GB, free: 9.938 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.5601, allocations: 175.7 kB / 1.489 GB, free: 9.742 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.5606, allocations: 208.9 kB / 1.489 GB, free: 9.527 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5606, allocations: 7.984 kB / 1.489 GB, free: 9.52 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005717/0.5612, allocations: 287.3 kB / 1.489 GB, free: 9.234 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5612, allocations: 4 kB / 1.489 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5612, allocations: 0 / 1.489 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5612, allocations: 4 kB / 1.489 GB, free: 9.227 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.5615, allocations: 47.97 kB / 1.489 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.5615, allocations: 3.938 kB / 1.489 GB, free: 9.176 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.5617, allocations: 23.83 kB / 1.489 GB, free: 9.152 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.5617, allocations: 12 kB / 1.489 GB, free: 9.141 MB / 1.186 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.0001994/0.5619, allocations: 169.8 kB / 1.49 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.41e-05/0.562, allocations: 35.77 kB / 1.49 GB, free: 8.93 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006247/0.5626, allocations: 276.7 kB / 1.49 GB, free: 8.652 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.5626, allocations: 7.984 kB / 1.49 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5626, allocations: 0 / 1.49 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5626, allocations: 7.938 kB / 1.49 GB, free: 8.637 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.564, allocations: 0.6998 MB / 1.491 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.564, allocations: 0 / 1.491 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.5642, allocations: 51.91 kB / 1.491 GB, free: 7.832 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.5642, allocations: 3.938 kB / 1.491 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.5643, allocations: 8 kB / 1.491 GB, free: 7.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5643, allocations: 4 kB / 1.491 GB, free: 7.816 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5643, allocations: 4.188 kB / 1.491 GB, free: 7.812 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.5652, allocations: 0.5018 MB / 1.491 GB, free: 7.277 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5654, allocations: 55.7 kB / 1.491 GB, free: 7.223 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.5654, allocations: 8 kB / 1.491 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.5657, allocations: 19.92 kB / 1.491 GB, free: 7.195 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.5658, allocations: 15.97 kB / 1.491 GB, free: 7.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.5658, allocations: 12 kB / 1.491 GB, free: 7.168 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002762/0.5661, allocations: 235.2 kB / 1.492 GB, free: 6.945 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5661, allocations: 0 / 1.492 GB, free: 6.945 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005211/0.5666, allocations: 131.7 kB / 1.492 GB, free: 6.816 MB / 1.186 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.0003387/0.5669, allocations: 175 kB / 1.492 GB, free: 6.633 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000578/0.5675, allocations: 203.7 kB / 1.492 GB, free: 6.434 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5675, allocations: 0 / 1.492 GB, free: 6.434 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.5677, allocations: 107.8 kB / 1.492 GB, free: 6.328 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009699/0.5687, allocations: 163.5 kB / 1.492 GB, free: 6.164 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.5705, allocations: 0.8878 MB / 1.493 GB, free: 5.227 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.5707, allocations: 227.4 kB / 1.493 GB, free: 4.98 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000254/0.571, allocations: 66.92 kB / 1.493 GB, free: 4.918 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.571, allocations: 31.44 kB / 1.493 GB, free: 4.891 MB / 1.186 GB Notification: Performance of SimCode: time 7.82e-07/0.571, allocations: 0 / 1.493 GB, free: 4.891 MB / 1.186 GB Notification: Performance of Templates: time 0.01473/0.5858, allocations: 7.258 MB / 1.501 GB, free: 13.81 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.794231904670596]