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.0008581/0.0008581, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0009154/0.0009154, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8636/0.8636, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.666/1.666, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.981 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.375e-05/1.51e-05, allocations: 9.172 kB / 0.981 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5426/0.5426, allocations: 153.4 MB / 1.131 GB, free: 11.36 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.5455, allocations: 2.168 MB / 1.133 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.5457, allocations: 25.41 kB / 1.133 GB, free: 9.867 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.5463, allocations: 229.6 kB / 1.133 GB, free: 9.676 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.5477, allocations: 0.9679 MB / 1.134 GB, free: 8.941 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.549, allocations: 0.8855 MB / 1.135 GB, free: 8.293 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0007941/0.5498, allocations: 0.9713 MB / 1.136 GB, free: 7.723 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.5502, allocations: 265.4 kB / 1.136 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008132/0.551, allocations: 0.7367 MB / 1.137 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.5512, allocations: 269.3 kB / 1.137 GB, free: 6.945 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.604e-05/0.5513, allocations: 32.5 kB / 1.137 GB, free: 6.945 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008604/0.5521, allocations: 0.8267 MB / 1.138 GB, free: 6.48 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.5523, allocations: 162.3 kB / 1.138 GB, free: 6.367 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.5525, allocations: 168.3 kB / 1.138 GB, free: 6.289 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008175/0.5533, allocations: 0.9225 MB / 1.139 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5533, allocations: 0 / 1.139 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5533, allocations: 0 / 1.139 GB, free: 5.734 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5533, allocations: 0 / 1.139 GB, free: 5.734 MB / 0.9792 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.0008386/0.5541, allocations: 0.7386 MB / 1.14 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.5542, allocations: 9.094 kB / 1.14 GB, free: 5.133 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.66e-05/0.5542, allocations: 68.84 kB / 1.14 GB, free: 5.066 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.5549, allocations: 180.8 kB / 1.14 GB, free: 4.98 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.5553, allocations: 336 kB / 1.14 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.5553, allocations: 24.47 kB / 1.14 GB, free: 4.691 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.5554, allocations: 29.19 kB / 1.14 GB, free: 4.684 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.5558, allocations: 425.1 kB / 1.141 GB, free: 4.363 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5558, allocations: 0 / 1.141 GB, free: 4.363 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.5559, allocations: 19.41 kB / 1.141 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.5559, allocations: 10.97 kB / 1.141 GB, free: 4.348 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.5562, allocations: 253.2 kB / 1.141 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.5573, allocations: 1.319 MB / 1.142 GB, free: 3.109 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.5576, allocations: 194.2 kB / 1.143 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.5577, allocations: 109.6 kB / 1.143 GB, free: 2.953 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.558, allocations: 128.8 kB / 1.143 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.5581, allocations: 41.2 kB / 1.143 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.5581, allocations: 3.938 kB / 1.143 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23): time 0.000535/0.5586, allocations: 356.9 kB / 1.143 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.5586, allocations: 53.94 kB / 1.143 GB, free: 2.617 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.5589, allocations: 420.5 kB / 1.144 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5589, allocations: 29.7 kB / 1.144 GB, free: 2.328 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5591, allocations: 220.5 kB / 1.144 GB, free: 2.133 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.5591, allocations: 86.8 kB / 1.144 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.5592, allocations: 51.11 kB / 1.144 GB, free: 2.02 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.5593, allocations: 347.4 kB / 1.144 GB, free: 1.68 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.5594, allocations: 79.98 kB / 1.144 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5595, allocations: 182.5 kB / 1.145 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.5598, allocations: 212.8 kB / 1.145 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5598, allocations: 0 / 1.145 GB, free: 1.375 MB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00031/0.5601, allocations: 289.1 kB / 1.145 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5601, allocations: 2.844 kB / 1.145 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5601, allocations: 6.578 kB / 1.145 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5601, allocations: 11 kB / 1.145 GB, free: 1.211 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.5602, allocations: 47.2 kB / 1.145 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5602, allocations: 2.688 kB / 1.145 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5603, allocations: 32.45 kB / 1.145 GB, free: 1.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.5604, allocations: 8.031 kB / 1.145 GB, free: 1.18 MB / 0.9792 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.0001166/0.5605, allocations: 170.8 kB / 1.145 GB, free: 1.027 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.5605, allocations: 43.53 kB / 1.145 GB, free: 1.004 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.5609, allocations: 290.3 kB / 1.146 GB, free: 0.8359 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5609, allocations: 7.938 kB / 1.146 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5609, allocations: 2.719 kB / 1.146 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5609, allocations: 0 / 1.146 GB, free: 0.8281 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007313/0.5616, allocations: 0.7365 MB / 1.146 GB, free: 264 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5616, allocations: 2.75 kB / 1.146 GB, free: 264 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.5617, allocations: 48.89 kB / 1.147 GB, free: 248 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5617, allocations: 6.938 kB / 1.147 GB, free: 244 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5618, allocations: 9.203 kB / 1.147 GB, free: 240 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5618, allocations: 4.828 kB / 1.147 GB, free: 240 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5618, allocations: 0 / 1.147 GB, free: 240 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.5622, allocations: 0.4982 MB / 1.147 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.5623, allocations: 81.69 kB / 1.147 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.5624, allocations: 7.531 kB / 1.147 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5625, allocations: 18.83 kB / 1.147 GB, free: 15.82 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.5625, allocations: 20.25 kB / 1.147 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.5626, allocations: 5.438 kB / 1.147 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001951/0.5627, allocations: 300.6 kB / 1.147 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5627, allocations: 0 / 1.147 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002729/0.563, allocations: 124.1 kB / 1.148 GB, free: 15.6 MB / 0.9948 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.0008742/0.5639, allocations: 1.12 MB / 1.149 GB, free: 14.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.5642, allocations: 207.4 kB / 1.149 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5642, allocations: 0 / 1.149 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.5643, allocations: 110.8 kB / 1.149 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006278/0.5649, allocations: 215.2 kB / 1.149 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.5679, allocations: 3.629 MB / 1.153 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.568, allocations: 222 kB / 1.153 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001612/0.5682, allocations: 88.55 kB / 1.153 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.5683, allocations: 142.9 kB / 1.153 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of SimCode: time 9.62e-07/0.5683, allocations: 4 kB / 1.153 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.5928, allocations: 13.66 MB / 1.166 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.768, allocations: 3.938 kB / 1.166 GB, free: 2.441 MB / 0.9948 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv","/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] "Error: Could not read variable ori.V_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.V_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.dp in file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.dp from file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! Error: Could not read variable ori.v in file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv. Warning: Get data of variable ori.v from file Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.70121873356402]