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.001774/0.001774, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002366/0.002366, allocations: 159.2 kB / 22.45 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.824/2.824, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.637e-05, allocations: 9.453 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.226/0.2261, allocations: 153.4 MB / 1.131 GB, free: 1.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.9273/1.153, allocations: 2.17 MB / 1.133 GB, free: 45.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009841/1.154, allocations: 22.59 kB / 1.133 GB, free: 45.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/1.155, allocations: 231.1 kB / 1.134 GB, free: 45.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003118/1.159, allocations: 0.9611 MB / 1.135 GB, free: 45.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/1.161, allocations: 0.8868 MB / 1.135 GB, free: 45.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001961/1.163, allocations: 0.9732 MB / 1.136 GB, free: 45.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/1.164, allocations: 259.9 kB / 1.137 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/1.166, allocations: 0.7392 MB / 1.137 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004792/1.166, allocations: 271.3 kB / 1.138 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.245e-05/1.166, allocations: 34.75 kB / 1.138 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/1.169, allocations: 0.8274 MB / 1.138 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003283/1.169, allocations: 162.3 kB / 1.139 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003415/1.17, allocations: 159.8 kB / 1.139 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002673/1.172, allocations: 0.9211 MB / 1.14 GB, free: 45.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.172, allocations: 2.125 kB / 1.14 GB, free: 45.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.557e-06/1.172, allocations: 0 / 1.14 GB, free: 45.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.187e-05/1.172, allocations: 0 / 1.14 GB, free: 45.34 MB / 1.076 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.001714/1.174, allocations: 0.7365 MB / 1.14 GB, free: 44.87 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/1.174, allocations: 12.69 kB / 1.14 GB, free: 44.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/1.175, allocations: 186 kB / 1.141 GB, free: 44.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/1.176, allocations: 328.8 kB / 1.141 GB, free: 44.66 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/1.176, allocations: 25.62 kB / 1.141 GB, free: 44.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/1.176, allocations: 29.84 kB / 1.141 GB, free: 44.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/1.177, allocations: 425.1 kB / 1.141 GB, free: 44.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.177, allocations: 1.125 kB / 1.141 GB, free: 44.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/1.177, allocations: 12.84 kB / 1.141 GB, free: 44.51 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/1.177, allocations: 24.11 kB / 1.141 GB, free: 44.51 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/1.178, allocations: 253.1 kB / 1.142 GB, free: 44.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/1.18, allocations: 1.233 MB / 1.143 GB, free: 43.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/1.18, allocations: 196.7 kB / 1.143 GB, free: 43.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/1.181, allocations: 108.3 kB / 1.143 GB, free: 43.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007869/1.181, allocations: 126.6 kB / 1.143 GB, free: 43.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/1.181, allocations: 34.25 kB / 1.143 GB, free: 43.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 2.274e-06/1.181, allocations: 2.906 kB / 1.143 GB, free: 43.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001125/1.183, allocations: 356.9 kB / 1.144 GB, free: 43.64 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.183, allocations: 55.03 kB / 1.144 GB, free: 43.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/1.183, allocations: 319.1 kB / 1.144 GB, free: 43.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/1.183, allocations: 32.92 kB / 1.144 GB, free: 43.43 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/1.183, allocations: 222.7 kB / 1.144 GB, free: 43.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/1.183, allocations: 81.27 kB / 1.144 GB, free: 43.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.183, allocations: 55.25 kB / 1.144 GB, free: 43.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.184, allocations: 343.7 kB / 1.145 GB, free: 42.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/1.184, allocations: 81.22 kB / 1.145 GB, free: 42.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/1.184, allocations: 176.3 kB / 1.145 GB, free: 42.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/1.184, allocations: 205 kB / 1.145 GB, free: 42.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.184, allocations: 3.938 kB / 1.145 GB, free: 42.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005615/1.185, allocations: 283.8 kB / 1.145 GB, free: 42.74 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.185, allocations: 5.25 kB / 1.145 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.185, allocations: 1.203 kB / 1.145 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/1.185, allocations: 3.781 kB / 1.145 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/1.185, allocations: 49.66 kB / 1.145 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.185, allocations: 3.781 kB / 1.145 GB, free: 42.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/1.186, allocations: 23.47 kB / 1.145 GB, free: 42.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/1.186, allocations: 9.281 kB / 1.145 GB, free: 42.73 MB / 1.076 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.0002452/1.186, allocations: 163.4 kB / 1.146 GB, free: 42.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-05/1.186, allocations: 41.3 kB / 1.146 GB, free: 42.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/1.187, allocations: 282 kB / 1.146 GB, free: 42.55 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.187, allocations: 3.594 kB / 1.146 GB, free: 42.55 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.187, allocations: 0 / 1.146 GB, free: 42.55 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.187, allocations: 1.766 kB / 1.146 GB, free: 42.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.188, allocations: 0.7082 MB / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.188, allocations: 0 / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/1.188, allocations: 50.94 kB / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.188, allocations: 2.781 kB / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/1.188, allocations: 10.84 kB / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/1.188, allocations: 2.812 kB / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.188, allocations: 4.719 kB / 1.147 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/1.189, allocations: 0.4964 MB / 1.147 GB, free: 42.06 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/1.189, allocations: 54.62 kB / 1.147 GB, free: 42.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/1.189, allocations: 10.72 kB / 1.147 GB, free: 42.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/1.19, allocations: 17.05 kB / 1.147 GB, free: 42.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/1.19, allocations: 31.02 kB / 1.147 GB, free: 42.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/1.19, allocations: 8.781 kB / 1.147 GB, free: 42.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002383/1.19, allocations: 232.1 kB / 1.147 GB, free: 41.95 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.19, allocations: 0 / 1.147 GB, free: 41.95 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000563/1.191, allocations: 123.5 kB / 1.148 GB, free: 41.93 MB / 1.076 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.0004583/1.191, allocations: 181.5 kB / 1.148 GB, free: 41.83 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005862/1.192, allocations: 198.6 kB / 1.148 GB, free: 41.83 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.192, allocations: 0.9062 kB / 1.148 GB, free: 41.83 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/1.192, allocations: 111.5 kB / 1.148 GB, free: 41.83 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.193, allocations: 161 kB / 1.148 GB, free: 41.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/1.195, allocations: 0.8015 MB / 1.149 GB, free: 41.44 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/1.195, allocations: 222.4 kB / 1.149 GB, free: 41.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003301/1.196, allocations: 77.91 kB / 1.149 GB, free: 41.35 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/1.196, allocations: 34.09 kB / 1.149 GB, free: 41.34 MB / 1.076 GB Notification: Performance of SimCode: time 1.613e-06/1.196, allocations: 0 / 1.149 GB, free: 41.34 MB / 1.076 GB Notification: Performance of Templates: time 0.01749/1.213, allocations: 6.564 MB / 1.156 GB, free: 40.95 MB / 1.076 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.911556415259838]