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.0008237/0.0008237, 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.0008587/0.0008587, 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.8446/0.8446, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.699/1.699, allocations: 389 MB / 0.633 GB, free: 12.67 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.532e-06/1.532e-06, allocations: 0 / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.57e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.536/0.536, allocations: 178.7 MB / 1.174 GB, free: 3.031 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008107/0.5441, allocations: 7.059 MB / 1.181 GB, free: 14.26 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008229/0.5449, allocations: 48.5 kB / 1.181 GB, free: 14.23 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.5463, allocations: 0.674 MB / 1.182 GB, free: 13.87 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.5506, allocations: 2.631 MB / 1.184 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.5528, allocations: 1.283 MB / 1.186 GB, free: 11.74 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.5555, allocations: 3.032 MB / 1.189 GB, free: 10.31 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.5562, allocations: 0.7137 MB / 1.189 GB, free: 9.961 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001566/0.5578, allocations: 1.568 MB / 1.191 GB, free: 9.277 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.5594, allocations: 0.8987 MB / 1.192 GB, free: 8.992 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.5596, allocations: 112 kB / 1.192 GB, free: 8.992 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.5622, allocations: 1.805 MB / 1.193 GB, free: 8.309 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.5625, allocations: 499.9 kB / 1.194 GB, free: 8.066 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.563, allocations: 491.1 kB / 1.194 GB, free: 7.875 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.5655, allocations: 2.473 MB / 1.197 GB, free: 7.039 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5655, allocations: 1.156 kB / 1.197 GB, free: 7.039 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5655, allocations: 0 / 1.197 GB, free: 7.039 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.587e-05/0.5655, allocations: 0 / 1.197 GB, free: 7.039 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.002115/0.5676, allocations: 1.591 MB / 1.198 GB, free: 6.047 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5676, allocations: 14.78 kB / 1.198 GB, free: 6.043 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.5678, allocations: 141.9 kB / 1.199 GB, free: 5.945 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.5695, allocations: 0.4915 MB / 1.199 GB, free: 5.852 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.5705, allocations: 0.797 MB / 1.2 GB, free: 5.371 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.5705, allocations: 64.97 kB / 1.2 GB, free: 5.344 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5706, allocations: 86.19 kB / 1.2 GB, free: 5.312 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.572, allocations: 1.314 MB / 1.201 GB, free: 4.383 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.572, allocations: 1.031 kB / 1.201 GB, free: 4.383 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.69e-05/0.5721, allocations: 37.12 kB / 1.201 GB, free: 4.355 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.5721, allocations: 42.05 kB / 1.201 GB, free: 4.352 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.5734, allocations: 0.9882 MB / 1.202 GB, free: 3.852 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.002903/0.5763, allocations: 2.948 MB / 1.205 GB, free: 1.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5773, allocations: 0.7746 MB / 1.206 GB, free: 1.258 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.5779, allocations: 490.4 kB / 1.206 GB, free: 1.016 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.578, allocations: 9.469 kB / 1.206 GB, free: 1.016 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.578, allocations: 42.91 kB / 1.206 GB, free: 0.9688 MB / 1.042 GB Notification: Performance of pre-optimization done (n=70): time 2.535e-06/0.578, allocations: 0 / 1.206 GB, free: 0.9688 MB / 1.042 GB Notification: Performance of matching and sorting (n=70): time 0.001541/0.5795, allocations: 1.155 MB / 1.208 GB, free: 392 kB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5796, allocations: 60.62 kB / 1.208 GB, free: 328 kB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.5801, allocations: 0.6402 MB / 1.208 GB, free: 15.95 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.5801, allocations: 40.7 kB / 1.208 GB, free: 15.91 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.5803, allocations: 445.4 kB / 1.209 GB, free: 15.52 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.5805, allocations: 258 kB / 1.209 GB, free: 15.29 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.5806, allocations: 117.7 kB / 1.209 GB, free: 15.22 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.5807, allocations: 338 kB / 1.209 GB, free: 14.89 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.5811, allocations: 332.4 kB / 1.21 GB, free: 14.72 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.5815, allocations: 406.7 kB / 1.21 GB, free: 14.48 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008588/0.5824, allocations: 0.7611 MB / 1.211 GB, free: 14.05 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5824, allocations: 4 kB / 1.211 GB, free: 14.04 MB / 1.057 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001023/0.5834, allocations: 0.8931 MB / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5834, allocations: 5.812 kB / 1.212 GB, free: 13.59 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.5834, allocations: 4.188 kB / 1.212 GB, free: 13.58 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.5834, allocations: 5.312 kB / 1.212 GB, free: 13.58 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.5838, allocations: 159.1 kB / 1.212 GB, free: 13.54 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5839, allocations: 5.969 kB / 1.212 GB, free: 13.54 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/0.5843, allocations: 64.44 kB / 1.212 GB, free: 13.5 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.5843, allocations: 31.92 kB / 1.212 GB, free: 13.48 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.0002777/0.5846, allocations: 289.7 kB / 1.212 GB, free: 13.26 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.5847, allocations: 97.62 kB / 1.212 GB, free: 13.21 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.5848, allocations: 109.5 kB / 1.212 GB, free: 13.11 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.5848, allocations: 7.531 kB / 1.212 GB, free: 13.11 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5848, allocations: 0 / 1.212 GB, free: 13.11 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009283/0.5858, allocations: 0.9124 MB / 1.213 GB, free: 12.52 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.5876, allocations: 1.841 MB / 1.215 GB, free: 11.35 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5876, allocations: 1.438 kB / 1.215 GB, free: 11.35 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.5881, allocations: 176 kB / 1.215 GB, free: 11.31 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5881, allocations: 8.969 kB / 1.215 GB, free: 11.31 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.5882, allocations: 13.59 kB / 1.215 GB, free: 11.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.5882, allocations: 7.875 kB / 1.215 GB, free: 11.29 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5882, allocations: 6.828 kB / 1.215 GB, free: 11.29 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.5896, allocations: 1.367 MB / 1.217 GB, free: 10.53 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.5899, allocations: 181.9 kB / 1.217 GB, free: 10.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.59, allocations: 18.22 kB / 1.217 GB, free: 10.39 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003616/0.5903, allocations: 35.47 kB / 1.217 GB, free: 10.37 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.592e-05/0.5904, allocations: 47.94 kB / 1.217 GB, free: 10.34 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.5904, allocations: 23.95 kB / 1.217 GB, free: 10.33 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003442/0.5908, allocations: 458.1 kB / 1.217 GB, free: 10.07 MB / 1.057 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5908, allocations: 0 / 1.217 GB, free: 10.07 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0005367/0.5913, allocations: 339 kB / 1.218 GB, free: 10 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.001757/0.5931, allocations: 1.993 MB / 1.22 GB, free: 8.664 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008953/0.594, allocations: 0.7508 MB / 1.22 GB, free: 8.312 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.594, allocations: 0 / 1.22 GB, free: 8.312 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.5944, allocations: 411.4 kB / 1.221 GB, free: 8.121 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.5957, allocations: 0.5515 MB / 1.221 GB, free: 7.844 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006966/0.6027, allocations: 7.212 MB / 1.228 GB, free: 1.391 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.603, allocations: 498.9 kB / 1.229 GB, free: 0.8711 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0005696/0.6036, allocations: 231.2 kB / 1.229 GB, free: 0.6406 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.6039, allocations: 364.4 kB / 1.229 GB, free: 292 kB / 1.057 GB Notification: Performance of SimCode: time 6.01e-07/0.6039, allocations: 4 kB / 1.229 GB, free: 288 kB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.6389, allocations: 29.25 MB / 1.258 GB, free: 3.617 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.256, allocations: 2.5 kB / 1.258 GB, free: 3.617 MB / 1.089 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.15551724191755]