Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.0008073/0.0008073, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008665/0.0008665, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8485/0.8485, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.745/1.745, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 0.9996 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.639e-05, allocations: 2.281 kB / 0.9996 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.5533/0.5534, allocations: 178.7 MB / 1.174 GB, free: 15.57 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007322/0.5607, allocations: 7.052 MB / 1.181 GB, free: 8.5 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.5614, allocations: 51.56 kB / 1.181 GB, free: 8.449 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.5626, allocations: 0.6755 MB / 1.182 GB, free: 7.77 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.5663, allocations: 2.627 MB / 1.184 GB, free: 5.133 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.5682, allocations: 1.285 MB / 1.186 GB, free: 3.848 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002161/0.5704, allocations: 3.034 MB / 1.188 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.571, allocations: 0.7209 MB / 1.189 GB, free: 64 kB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.5724, allocations: 1.562 MB / 1.191 GB, free: 14.5 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.5736, allocations: 0.8895 MB / 1.192 GB, free: 13.61 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.5737, allocations: 112 kB / 1.192 GB, free: 13.5 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.5757, allocations: 1.815 MB / 1.193 GB, free: 11.68 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.576, allocations: 494.5 kB / 1.194 GB, free: 11.2 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.5763, allocations: 491 kB / 1.194 GB, free: 10.71 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.5782, allocations: 2.474 MB / 1.197 GB, free: 8.234 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5782, allocations: 4 kB / 1.197 GB, free: 8.23 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5782, allocations: 3.938 kB / 1.197 GB, free: 8.227 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.5783, allocations: 0 / 1.197 GB, free: 8.227 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00188/0.5801, allocations: 1.585 MB / 1.198 GB, free: 6.602 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.5802, allocations: 8.75 kB / 1.198 GB, free: 6.594 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/0.5803, allocations: 139.2 kB / 1.199 GB, free: 6.449 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.582, allocations: 0.4987 MB / 1.199 GB, free: 5.949 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009817/0.583, allocations: 0.7877 MB / 1.2 GB, free: 5.133 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.583, allocations: 65.98 kB / 1.2 GB, free: 5.07 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.674e-05/0.5831, allocations: 87.94 kB / 1.2 GB, free: 4.984 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.5845, allocations: 1.315 MB / 1.201 GB, free: 3.586 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5845, allocations: 4 kB / 1.201 GB, free: 3.582 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/0.5846, allocations: 35.94 kB / 1.201 GB, free: 3.547 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.5846, allocations: 45.98 kB / 1.201 GB, free: 3.504 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.5858, allocations: 0.9823 MB / 1.202 GB, free: 2.52 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002882/0.5887, allocations: 2.966 MB / 1.205 GB, free: 15.48 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/0.5896, allocations: 0.7617 MB / 1.206 GB, free: 14.71 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.5902, allocations: 491.2 kB / 1.206 GB, free: 14.23 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.5902, allocations: 8.656 kB / 1.206 GB, free: 14.22 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.5903, allocations: 43.22 kB / 1.206 GB, free: 14.17 MB / 1.057 GB Notification: Performance of pre-optimization done (n=70): time 2.334e-06/0.5903, allocations: 0 / 1.206 GB, free: 14.17 MB / 1.057 GB Notification: Performance of matching and sorting (n=70): time 0.001497/0.5918, allocations: 1.161 MB / 1.208 GB, free: 13 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.5918, allocations: 60.06 kB / 1.208 GB, free: 12.93 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004872/0.5923, allocations: 0.6373 MB / 1.208 GB, free: 12.29 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.5923, allocations: 37.7 kB / 1.208 GB, free: 12.24 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.5925, allocations: 444.7 kB / 1.209 GB, free: 11.8 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.5927, allocations: 257.7 kB / 1.209 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.5928, allocations: 126.3 kB / 1.209 GB, free: 11.42 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/0.5929, allocations: 333.9 kB / 1.209 GB, free: 11.09 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.5933, allocations: 333.1 kB / 1.21 GB, free: 10.76 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.5937, allocations: 409 kB / 1.21 GB, free: 10.34 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.5946, allocations: 0.7605 MB / 1.211 GB, free: 9.555 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5946, allocations: 0 / 1.211 GB, free: 9.555 MB / 1.057 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001163/0.5957, allocations: 0.895 MB / 1.212 GB, free: 8.652 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5958, allocations: 8 kB / 1.212 GB, free: 8.645 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5958, allocations: 0 / 1.212 GB, free: 8.645 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.5958, allocations: 4 kB / 1.212 GB, free: 8.641 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.5962, allocations: 167.8 kB / 1.212 GB, free: 8.477 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.5962, allocations: 4 kB / 1.212 GB, free: 8.473 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.5966, allocations: 71.59 kB / 1.212 GB, free: 8.402 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.5966, allocations: 23.98 kB / 1.212 GB, free: 8.379 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0002754/0.5969, allocations: 290.4 kB / 1.212 GB, free: 8.086 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.597, allocations: 95.42 kB / 1.212 GB, free: 7.992 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001262/0.5971, allocations: 103.7 kB / 1.212 GB, free: 7.883 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5971, allocations: 12 kB / 1.212 GB, free: 7.871 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5971, allocations: 0 / 1.212 GB, free: 7.871 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009165/0.5981, allocations: 0.9159 MB / 1.213 GB, free: 6.91 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.5999, allocations: 1.836 MB / 1.215 GB, free: 5.02 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5999, allocations: 0 / 1.215 GB, free: 5.02 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.6004, allocations: 183.8 kB / 1.215 GB, free: 4.84 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6004, allocations: 4 kB / 1.215 GB, free: 4.836 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.6005, allocations: 15.98 kB / 1.215 GB, free: 4.82 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.6005, allocations: 9.188 kB / 1.215 GB, free: 4.812 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6005, allocations: 4 kB / 1.215 GB, free: 4.809 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.602, allocations: 1.362 MB / 1.217 GB, free: 3.434 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.6022, allocations: 183.2 kB / 1.217 GB, free: 3.254 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.6023, allocations: 23.94 kB / 1.217 GB, free: 3.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.6026, allocations: 35.91 kB / 1.217 GB, free: 3.195 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.6027, allocations: 44.56 kB / 1.217 GB, free: 3.148 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.6028, allocations: 30.42 kB / 1.217 GB, free: 3.121 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003525/0.6031, allocations: 459 kB / 1.217 GB, free: 2.68 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.6031, allocations: 0 / 1.217 GB, free: 2.68 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000536/0.6036, allocations: 335.4 kB / 1.218 GB, free: 2.352 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.001879/0.6055, allocations: 1.986 MB / 1.22 GB, free: 348 kB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0009309/0.6065, allocations: 0.7551 MB / 1.22 GB, free: 15.59 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6065, allocations: 0 / 1.22 GB, free: 15.59 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.6069, allocations: 403.9 kB / 1.221 GB, free: 15.19 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.6082, allocations: 0.5603 MB / 1.221 GB, free: 14.65 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007057/0.6153, allocations: 7.207 MB / 1.228 GB, free: 7.277 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6156, allocations: 0.4911 MB / 1.229 GB, free: 6.754 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.000577/0.6162, allocations: 227.3 kB / 1.229 GB, free: 6.527 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/0.6166, allocations: 360.4 kB / 1.229 GB, free: 6.176 MB / 1.073 GB Notification: Performance of SimCode: time 7.62e-07/0.6166, allocations: 0 / 1.229 GB, free: 6.176 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.6542, allocations: 29.25 MB / 1.258 GB, free: 9.512 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.009, allocations: 9.859 kB / 1.258 GB, free: 9.504 MB / 1.104 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable volA.T in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volA.T from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable volOut.T in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable volOut.T from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutBot.v in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutBot.v from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! Error: Could not read variable oriOutTop.v in file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv. Warning: Get data of variable oriOutTop.v from file Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.040430721826851]