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.0009811/0.0009811, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009059/0.0009059, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.9202/0.9202, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.79/1.79, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") translateModel(Buildings.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volA.T|volOut.T|oriOutBot.v|oriOutTop.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.77e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7774/0.7775, allocations: 178.7 MB / 1.175 GB, free: 3.031 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.7886, allocations: 7.05 MB / 1.182 GB, free: 14.26 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.7901, allocations: 56.94 kB / 1.182 GB, free: 14.23 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.792, allocations: 0.673 MB / 1.183 GB, free: 13.86 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.006486/0.7985, allocations: 2.628 MB / 1.186 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.8018, allocations: 1.279 MB / 1.187 GB, free: 11.74 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.8058, allocations: 3.038 MB / 1.19 GB, free: 10.31 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008977/0.8067, allocations: 0.7144 MB / 1.19 GB, free: 9.953 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.8087, allocations: 1.558 MB / 1.192 GB, free: 9.281 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.8102, allocations: 0.9037 MB / 1.193 GB, free: 8.996 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.8104, allocations: 117 kB / 1.193 GB, free: 8.992 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.8143, allocations: 1.809 MB / 1.195 GB, free: 8.305 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004765/0.8147, allocations: 499.6 kB / 1.195 GB, free: 8.062 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.8153, allocations: 494.9 kB / 1.196 GB, free: 7.867 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.003111/0.8184, allocations: 2.47 MB / 1.198 GB, free: 7.035 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8184, allocations: 1 kB / 1.198 GB, free: 7.035 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8184, allocations: 0 / 1.198 GB, free: 7.035 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.8184, allocations: 3.938 kB / 1.198 GB, free: 7.031 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.00241/0.8208, allocations: 1.585 MB / 1.2 GB, free: 6.043 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.8209, allocations: 17.08 kB / 1.2 GB, free: 6.039 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.8227, allocations: 0.5035 MB / 1.2 GB, free: 5.934 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.8238, allocations: 0.7846 MB / 1.201 GB, free: 5.434 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.8239, allocations: 65.19 kB / 1.201 GB, free: 5.406 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.824, allocations: 82.06 kB / 1.201 GB, free: 5.379 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.8256, allocations: 1.313 MB / 1.202 GB, free: 4.441 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.8256, allocations: 5.203 kB / 1.202 GB, free: 4.438 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.937e-05/0.8257, allocations: 40 kB / 1.202 GB, free: 4.41 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.8257, allocations: 50.2 kB / 1.202 GB, free: 4.398 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.8271, allocations: 0.9775 MB / 1.203 GB, free: 3.906 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.00316/0.8303, allocations: 2.828 MB / 1.206 GB, free: 1.816 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.8314, allocations: 0.7704 MB / 1.207 GB, free: 1.402 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.832, allocations: 490.1 kB / 1.207 GB, free: 1.16 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.8321, allocations: 12.94 kB / 1.207 GB, free: 1.156 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.8321, allocations: 40.94 kB / 1.207 GB, free: 1.113 MB / 1.042 GB Notification: Performance of pre-optimization done (n=70): time 2.915e-06/0.8321, allocations: 0 / 1.207 GB, free: 1.113 MB / 1.042 GB Notification: Performance of matching and sorting (n=70): time 0.001565/0.8337, allocations: 1.153 MB / 1.209 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.8337, allocations: 58.44 kB / 1.209 GB, free: 476 kB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.8342, allocations: 0.5994 MB / 1.209 GB, free: 116 kB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.8343, allocations: 36.48 kB / 1.209 GB, free: 76 kB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.8345, allocations: 441.5 kB / 1.21 GB, free: 15.69 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.8347, allocations: 263.7 kB / 1.21 GB, free: 15.46 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.8348, allocations: 120.4 kB / 1.21 GB, free: 15.38 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.835, allocations: 385.1 kB / 1.21 GB, free: 15.02 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.8354, allocations: 328.9 kB / 1.211 GB, free: 14.85 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.8358, allocations: 407 kB / 1.211 GB, free: 14.61 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.8367, allocations: 0.7616 MB / 1.212 GB, free: 14.18 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.8367, allocations: 3.938 kB / 1.212 GB, free: 14.17 MB / 1.057 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001095/0.8378, allocations: 0.8936 MB / 1.213 GB, free: 13.71 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.8379, allocations: 9.344 kB / 1.213 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.8379, allocations: 2.844 kB / 1.213 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.8379, allocations: 5.375 kB / 1.213 GB, free: 13.71 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/0.8383, allocations: 163.1 kB / 1.213 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.8383, allocations: 13.8 kB / 1.213 GB, free: 13.66 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.8387, allocations: 58.23 kB / 1.213 GB, free: 13.62 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.8387, allocations: 23.41 kB / 1.213 GB, free: 13.61 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.0002933/0.839, allocations: 294.1 kB / 1.213 GB, free: 13.38 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.8391, allocations: 87.34 kB / 1.213 GB, free: 13.34 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.8393, allocations: 112.6 kB / 1.213 GB, free: 13.24 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.8393, allocations: 8 kB / 1.213 GB, free: 13.24 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.8393, allocations: 0 / 1.213 GB, free: 13.24 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009829/0.8403, allocations: 0.9118 MB / 1.214 GB, free: 12.64 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.8422, allocations: 1.727 MB / 1.216 GB, free: 11.56 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.8422, allocations: 0 / 1.216 GB, free: 11.56 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.8427, allocations: 182.2 kB / 1.216 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.8427, allocations: 2.781 kB / 1.216 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.8427, allocations: 21.14 kB / 1.216 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.8427, allocations: 6.375 kB / 1.216 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8428, allocations: 0 / 1.216 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.8443, allocations: 1.366 MB / 1.218 GB, free: 10.74 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.8446, allocations: 180.6 kB / 1.218 GB, free: 10.61 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.025e-05/0.8446, allocations: 16.91 kB / 1.218 GB, free: 10.6 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.845, allocations: 32.5 kB / 1.218 GB, free: 10.59 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.8451, allocations: 56.59 kB / 1.218 GB, free: 10.54 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.8451, allocations: 21.14 kB / 1.218 GB, free: 10.54 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003429/0.8455, allocations: 432.2 kB / 1.218 GB, free: 10.29 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.8455, allocations: 0 / 1.218 GB, free: 10.29 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006679/0.8461, allocations: 339.4 kB / 1.219 GB, free: 10.22 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.0002719/0.8464, allocations: 174.1 kB / 1.219 GB, free: 10.09 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0009672/0.8474, allocations: 0.7493 MB / 1.219 GB, free: 9.742 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8474, allocations: 4.062 kB / 1.219 GB, free: 9.738 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.8478, allocations: 407.5 kB / 1.22 GB, free: 9.551 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.8491, allocations: 0.5125 MB / 1.22 GB, free: 9.293 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.8517, allocations: 2.125 MB / 1.222 GB, free: 7.941 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.852, allocations: 0.4898 MB / 1.223 GB, free: 7.66 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/0.8523, allocations: 77.45 kB / 1.223 GB, free: 7.645 MB / 1.057 GB Notification: Performance of SimCode: time 9.62e-07/0.8523, allocations: 0 / 1.223 GB, free: 7.645 MB / 1.057 GB Notification: Performance of Templates: time 0.01395/0.8662, allocations: 16.44 MB / 1.239 GB, free: 7.688 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 800] 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: 9.668999014422297]