Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.717/2.717, allocations: 390.2 MB / 0.6646 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002514, allocations: 63.91 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.051, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.3392/1.39, allocations: 218.5 MB / 1.163 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03707/1.427, allocations: 20.42 MB / 1.183 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005544/1.433, allocations: 55.75 kB / 1.183 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004562/1.438, allocations: 1.259 MB / 1.184 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/1.451, allocations: 4.081 MB / 1.188 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005398/1.456, allocations: 1.526 MB / 1.19 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01044/1.467, allocations: 6.976 MB / 1.196 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004027/1.471, allocations: 2.356 MB / 1.199 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00621/1.477, allocations: 2.36 MB / 1.201 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005952/1.483, allocations: 2.45 MB / 1.203 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001888/1.485, allocations: 344 kB / 1.204 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01434/1.499, allocations: 3.461 MB / 1.207 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.004322/1.504, allocations: 1.457 MB / 1.209 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.009352/1.513, allocations: 1.859 MB / 1.21 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/1.53, allocations: 5.734 MB / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/1.53, allocations: 0 / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.635e-06/1.53, allocations: 0 / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002305/1.53, allocations: 0 / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01638/1.546, allocations: 3.937 MB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/1.547, allocations: 8.031 kB / 1.22 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006272/1.553, allocations: 0.8198 MB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/1.558, allocations: 1.89 MB / 1.223 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/1.559, allocations: 209.4 kB / 1.223 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/1.56, allocations: 264 kB / 1.223 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008141/1.568, allocations: 3.283 MB / 1.226 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.124e-05/1.568, allocations: 0 / 1.226 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/1.568, allocations: 112 kB / 1.226 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/1.569, allocations: 133.3 kB / 1.226 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007653/1.576, allocations: 4.619 MB / 1.231 GB, free: 0.6094 MB / 0.9825 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.01854/1.595, allocations: 10.98 MB / 1.242 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005944/1.601, allocations: 4.881 MB / 1.246 GB, free: 32 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.8938/2.495, allocations: 2.515 MB / 1.249 GB, free: 282.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00157/2.496, allocations: 0.8614 MB / 1.25 GB, free: 282 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.191e-05/2.496, allocations: 76.77 kB / 1.25 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.892e-06/2.496, allocations: 6.875 kB / 1.25 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01862/2.515, allocations: 6.021 MB / 1.256 GB, free: 279.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001776/2.515, allocations: 94.33 kB / 1.256 GB, free: 279.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/2.518, allocations: 1.227 MB / 1.257 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009563/2.519, allocations: 92.83 kB / 1.257 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007399/2.52, allocations: 0.8126 MB / 1.258 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001977/2.522, allocations: 1.334 MB / 1.259 GB, free: 277.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/2.523, allocations: 0.5503 MB / 1.26 GB, free: 277.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.788e-05/2.524, allocations: 305.1 kB / 1.26 GB, free: 277 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003372/2.527, allocations: 1.605 MB / 1.262 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004096/2.531, allocations: 1.908 MB / 1.263 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008367/2.539, allocations: 3.837 MB / 1.267 GB, free: 274 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-05/2.54, allocations: 1.188 kB / 1.267 GB, free: 274 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.01196/2.551, allocations: 4.19 MB / 1.271 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/2.552, allocations: 6.719 kB / 1.271 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/2.552, allocations: 2.625 kB / 1.271 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.82e-05/2.552, allocations: 17.31 kB / 1.271 GB, free: 271.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/2.555, allocations: 0.6817 MB / 1.272 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.101e-05/2.555, allocations: 22.03 kB / 1.272 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003905/2.559, allocations: 241.9 kB / 1.272 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005133/2.56, allocations: 108.8 kB / 1.272 GB, free: 271.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.002435/2.562, allocations: 0.7291 MB / 1.273 GB, free: 271.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/2.564, allocations: 244.8 kB / 1.273 GB, free: 270.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/2.576, allocations: 4.637 MB / 1.278 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/2.576, allocations: 42.44 kB / 1.278 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.072e-05/2.576, allocations: 3.938 kB / 1.278 GB, free: 268.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007239/2.583, allocations: 3.956 MB / 1.282 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01885/2.602, allocations: 8.271 MB / 1.29 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/2.602, allocations: 0.875 kB / 1.29 GB, free: 260.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/2.605, allocations: 0.6592 MB / 1.29 GB, free: 259.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006231/2.606, allocations: 139.4 kB / 1.291 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007636/2.607, allocations: 86.12 kB / 1.291 GB, free: 259.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/2.611, allocations: 5.043 MB / 1.296 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.611, allocations: 0 / 1.296 GB, free: 254.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/2.626, allocations: 6.817 MB / 1.302 GB, free: 247.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/2.629, allocations: 0.7588 MB / 1.303 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/2.631, allocations: 72 kB / 1.303 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/2.634, allocations: 89.11 kB / 1.303 GB, free: 246.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000998/2.635, allocations: 226.8 kB / 1.303 GB, free: 246.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005902/2.636, allocations: 112 kB / 1.303 GB, free: 246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002216/2.638, allocations: 0.8567 MB / 1.304 GB, free: 245.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.913e-06/2.638, allocations: 0 / 1.304 GB, free: 245.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006227/2.645, allocations: 1.08 MB / 1.305 GB, free: 244 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00168/2.646, allocations: 331.6 kB / 1.306 GB, free: 243.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02486/2.671, allocations: 11.48 MB / 1.317 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/2.671, allocations: 4 kB / 1.317 GB, free: 232.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005736/2.677, allocations: 2.55 MB / 1.319 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00896/2.686, allocations: 1.079 MB / 1.32 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/2.704, allocations: 6.656 MB / 1.327 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/2.706, allocations: 1.948 MB / 1.329 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007425/2.714, allocations: 1.215 MB / 1.33 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/2.716, allocations: 247.4 kB / 1.33 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of SimCode: time 2.615e-06/2.716, allocations: 0 / 1.33 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.08825/2.804, allocations: 47.64 MB / 1.377 GB, free: 171.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches