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.001887/0.001887, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002425/0.002425, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.998/2.998, allocations: 0.49 GB / 0.7951 GB, free: 35.57 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: "" <> 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: 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.001921/0.001921, allocations: 66.8 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3368, allocations: 176.1 MB / 1.326 GB, free: 1.535 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1846/0.5215, allocations: 153.5 MB / 1.476 GB, free: 7.457 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003882/0.5254, allocations: 2.176 MB / 1.478 GB, free: 5.277 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004324/0.5258, allocations: 19.81 kB / 1.478 GB, free: 5.258 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000767/0.5266, allocations: 238.3 kB / 1.478 GB, free: 5.023 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.5288, allocations: 0.9373 MB / 1.479 GB, free: 4.082 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.531, allocations: 0.8475 MB / 1.48 GB, free: 3.238 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.5323, allocations: 0.974 MB / 1.481 GB, free: 2.262 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004644/0.5327, allocations: 259.5 kB / 1.481 GB, free: 2.004 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.5339, allocations: 0.6268 MB / 1.482 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.5343, allocations: 322.6 kB / 1.482 GB, free: 1.059 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.993e-05/0.5343, allocations: 32 kB / 1.482 GB, free: 1.027 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001419/0.5358, allocations: 0.8337 MB / 1.483 GB, free: 196 kB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.5359, allocations: 147.5 kB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.5362, allocations: 199.2 kB / 1.483 GB, free: 15.85 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.5374, allocations: 0.8758 MB / 1.484 GB, free: 14.97 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5374, allocations: 0 / 1.484 GB, free: 14.97 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5374, allocations: 0 / 1.484 GB, free: 14.97 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.5374, allocations: 0 / 1.484 GB, free: 14.97 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.001216/0.5386, allocations: 0.7417 MB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.5387, allocations: 12.03 kB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.5388, allocations: 70.47 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.5399, allocations: 183.4 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.5406, allocations: 335.8 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.5406, allocations: 24.66 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.454e-05/0.5406, allocations: 28 kB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.5413, allocations: 420.4 kB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5413, allocations: 3.938 kB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.5413, allocations: 23.94 kB / 1.486 GB, free: 13.05 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.5414, allocations: 12 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005174/0.5419, allocations: 249.8 kB / 1.486 GB, free: 12.79 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.5436, allocations: 1.319 MB / 1.487 GB, free: 11.4 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003869/0.544, allocations: 192.8 kB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.5442, allocations: 108.8 kB / 1.488 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006382/0.5449, allocations: 135.8 kB / 1.488 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5449, allocations: 38.5 kB / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 1.974e-06/0.5449, allocations: 0 / 1.488 GB, free: 10.92 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0008895/0.5458, allocations: 357.1 kB / 1.488 GB, free: 10.56 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.5458, allocations: 55.41 kB / 1.488 GB, free: 10.5 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004566/0.5463, allocations: 422 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.5463, allocations: 29.7 kB / 1.489 GB, free: 10.04 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.5465, allocations: 212.4 kB / 1.489 GB, free: 9.828 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.5466, allocations: 91.22 kB / 1.489 GB, free: 9.738 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-05/0.5466, allocations: 53.64 kB / 1.489 GB, free: 9.68 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5468, allocations: 350.7 kB / 1.489 GB, free: 9.328 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.547, allocations: 83.95 kB / 1.489 GB, free: 9.246 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.5472, allocations: 180.3 kB / 1.49 GB, free: 9.047 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003972/0.5476, allocations: 209.5 kB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5476, allocations: 0 / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005159/0.5481, allocations: 283.2 kB / 1.49 GB, free: 8.551 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5482, allocations: 8.062 kB / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5482, allocations: 0 / 1.49 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5482, allocations: 4 kB / 1.49 GB, free: 8.539 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.5484, allocations: 55.92 kB / 1.49 GB, free: 8.484 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.5484, allocations: 11.92 kB / 1.49 GB, free: 8.473 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.5486, allocations: 27.78 kB / 1.49 GB, free: 8.445 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.5487, allocations: 8 kB / 1.49 GB, free: 8.438 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.0001762/0.5488, allocations: 169.7 kB / 1.49 GB, free: 8.262 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.5489, allocations: 43.72 kB / 1.49 GB, free: 8.219 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.5495, allocations: 283.5 kB / 1.491 GB, free: 7.938 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.5495, allocations: 4 kB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5495, allocations: 3.938 kB / 1.491 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5495, allocations: 96 / 1.491 GB, free: 7.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.5507, allocations: 0.7519 MB / 1.491 GB, free: 7.109 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.5507, allocations: 7.984 kB / 1.491 GB, free: 7.102 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.5509, allocations: 47.91 kB / 1.491 GB, free: 7.055 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5509, allocations: 0 / 1.491 GB, free: 7.055 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.551, allocations: 8 kB / 1.491 GB, free: 7.047 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.551, allocations: 4 kB / 1.491 GB, free: 7.043 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.551, allocations: 0 / 1.491 GB, free: 7.043 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.5517, allocations: 0.5108 MB / 1.492 GB, free: 6.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.5519, allocations: 75.59 kB / 1.492 GB, free: 6.426 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.552, allocations: 8 kB / 1.492 GB, free: 6.418 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.5522, allocations: 15.98 kB / 1.492 GB, free: 6.402 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.5523, allocations: 23.84 kB / 1.492 GB, free: 6.379 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5523, allocations: 16 kB / 1.492 GB, free: 6.363 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0003155/0.5526, allocations: 299.1 kB / 1.492 GB, free: 6.074 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5526, allocations: 0 / 1.492 GB, free: 6.074 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004343/0.553, allocations: 115.8 kB / 1.492 GB, free: 5.961 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.001271/0.5543, allocations: 1.115 MB / 1.494 GB, free: 4.801 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004632/0.5548, allocations: 204.7 kB / 1.494 GB, free: 4.602 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5548, allocations: 0 / 1.494 GB, free: 4.602 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.555, allocations: 107.8 kB / 1.494 GB, free: 4.496 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5561, allocations: 221.1 kB / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.5609, allocations: 3.711 MB / 1.498 GB, free: 444 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.5611, allocations: 216.1 kB / 1.498 GB, free: 204 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000277/0.5613, allocations: 79.34 kB / 1.498 GB, free: 124 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.5616, allocations: 143.4 kB / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of SimCode: time 6.92e-07/0.5616, allocations: 0 / 1.498 GB, free: 15.98 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04348/0.605, allocations: 13.64 MB / 1.511 GB, free: 2.699 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.52, allocations: 8.156 kB / 1.511 GB, free: 2.695 MB / 1.201 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.038273957005003]