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.001628/0.001628, allocations: 108 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 187 kB / 17.34 MB, free: 5.742 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.36/2.36, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 67.89 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2883/1.462, allocations: 218.5 MB / 1.302 GB, free: 3.012 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0286/1.491, allocations: 20.41 MB / 1.322 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003767/1.494, allocations: 55.75 kB / 1.322 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004328/1.499, allocations: 1.251 MB / 1.323 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01327/1.512, allocations: 4.079 MB / 1.327 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005537/1.518, allocations: 1.548 MB / 1.329 GB, free: 7.586 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01148/1.529, allocations: 6.963 MB / 1.336 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005057/1.534, allocations: 2.36 MB / 1.338 GB, free: 14.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006385/1.541, allocations: 2.399 MB / 1.34 GB, free: 11.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006574/1.547, allocations: 2.449 MB / 1.343 GB, free: 9.332 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001677/1.549, allocations: 344 kB / 1.343 GB, free: 8.996 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.559, allocations: 3.461 MB / 1.346 GB, free: 5.527 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003056/1.562, allocations: 1.465 MB / 1.348 GB, free: 4.059 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005591/1.568, allocations: 1.859 MB / 1.35 GB, free: 2.191 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01435/1.582, allocations: 5.767 MB / 1.355 GB, free: 12.41 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.582, allocations: 0 / 1.355 GB, free: 12.41 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.454e-06/1.582, allocations: 0 / 1.355 GB, free: 12.41 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002238/1.583, allocations: 0 / 1.355 GB, free: 12.41 MB / 1.092 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.01444/1.597, allocations: 3.949 MB / 1.359 GB, free: 8.398 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.597, allocations: 12.03 kB / 1.359 GB, free: 8.387 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00653/1.604, allocations: 0.8275 MB / 1.36 GB, free: 7.555 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006161/1.61, allocations: 1.929 MB / 1.362 GB, free: 5.566 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/1.61, allocations: 209.4 kB / 1.362 GB, free: 5.359 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/1.612, allocations: 263.9 kB / 1.362 GB, free: 5.102 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/1.622, allocations: 3.29 MB / 1.365 GB, free: 1.77 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/1.622, allocations: 0 / 1.365 GB, free: 1.77 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000875/1.623, allocations: 112 kB / 1.365 GB, free: 1.66 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/1.623, allocations: 125.4 kB / 1.366 GB, free: 1.535 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/1.635, allocations: 4.623 MB / 1.37 GB, free: 12.9 MB / 1.107 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.02295/1.658, allocations: 10.93 MB / 1.381 GB, free: 1.293 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007637/1.665, allocations: 4.856 MB / 1.386 GB, free: 12.4 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004522/1.67, allocations: 2.539 MB / 1.388 GB, free: 9.855 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/1.671, allocations: 0.8603 MB / 1.389 GB, free: 8.828 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.234e-05/1.671, allocations: 77.64 kB / 1.389 GB, free: 8.742 MB / 1.123 GB Notification: Performance of pre-optimization done (n=399): time 7.885e-06/1.671, allocations: 0 / 1.389 GB, free: 8.742 MB / 1.123 GB Notification: Performance of matching and sorting (n=399): time 0.01205/1.683, allocations: 6.026 MB / 1.395 GB, free: 2.629 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/1.683, allocations: 94.55 kB / 1.395 GB, free: 2.523 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/1.686, allocations: 1.228 MB / 1.396 GB, free: 1.289 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0005344/1.686, allocations: 93.7 kB / 1.396 GB, free: 1.191 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/1.687, allocations: 0.8096 MB / 1.397 GB, free: 380 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/1.689, allocations: 1.332 MB / 1.398 GB, free: 15.02 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/1.69, allocations: 0.5468 MB / 1.399 GB, free: 14.46 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.691, allocations: 301.1 kB / 1.399 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003015/1.694, allocations: 1.607 MB / 1.401 GB, free: 12.56 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003358/1.697, allocations: 1.909 MB / 1.403 GB, free: 10.61 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006642/1.704, allocations: 3.834 MB / 1.406 GB, free: 6.711 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/1.704, allocations: 0 / 1.406 GB, free: 6.711 MB / 1.139 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00806/1.712, allocations: 4.195 MB / 1.41 GB, free: 2.492 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/1.712, allocations: 8 kB / 1.41 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/1.712, allocations: 0 / 1.41 GB, free: 2.484 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.832e-05/1.712, allocations: 20 kB / 1.41 GB, free: 2.465 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003148/1.715, allocations: 0.6749 MB / 1.411 GB, free: 1.789 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-05/1.715, allocations: 24.25 kB / 1.411 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/1.718, allocations: 245.3 kB / 1.411 GB, free: 1.523 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004172/1.719, allocations: 112 kB / 1.411 GB, free: 1.414 MB / 1.139 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.001845/1.721, allocations: 0.7274 MB / 1.412 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009375/1.722, allocations: 241.1 kB / 1.412 GB, free: 448 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00894/1.73, allocations: 4.642 MB / 1.417 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-05/1.731, allocations: 36 kB / 1.417 GB, free: 11.71 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-05/1.731, allocations: 8 kB / 1.417 GB, free: 11.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006871/1.737, allocations: 3.961 MB / 1.421 GB, free: 7.684 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01673/1.754, allocations: 8.266 MB / 1.429 GB, free: 15.33 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.754, allocations: 4 kB / 1.429 GB, free: 15.32 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003429/1.758, allocations: 0.6592 MB / 1.43 GB, free: 14.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005685/1.758, allocations: 142.4 kB / 1.43 GB, free: 14.52 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005592/1.759, allocations: 83.92 kB / 1.43 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/1.764, allocations: 5.035 MB / 1.435 GB, free: 8.988 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/1.764, allocations: 7.984 kB / 1.435 GB, free: 8.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.78, allocations: 6.813 MB / 1.441 GB, free: 2.109 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002778/1.783, allocations: 0.7627 MB / 1.442 GB, free: 1.324 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.784, allocations: 71.98 kB / 1.442 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003161/1.788, allocations: 89.34 kB / 1.442 GB, free: 1.168 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008364/1.789, allocations: 230.9 kB / 1.442 GB, free: 0.9414 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005365/1.789, allocations: 108 kB / 1.443 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001978/1.791, allocations: 0.8606 MB / 1.443 GB, free: 15.97 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.5e-07/1.791, allocations: 0 / 1.443 GB, free: 15.97 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.004495/1.796, allocations: 1.065 MB / 1.444 GB, free: 14.91 MB / 1.186 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.001327/1.797, allocations: 352 kB / 1.445 GB, free: 14.55 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008899/1.806, allocations: 4.059 MB / 1.449 GB, free: 10.48 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.806, allocations: 7.938 kB / 1.449 GB, free: 10.47 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004859/1.811, allocations: 2.552 MB / 1.451 GB, free: 7.883 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006865/1.818, allocations: 1.068 MB / 1.452 GB, free: 6.832 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.832, allocations: 6.747 MB / 1.459 GB, free: 32 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/1.835, allocations: 1.935 MB / 1.461 GB, free: 14.05 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002301/1.837, allocations: 279.4 kB / 1.461 GB, free: 13.78 MB / 1.201 GB Notification: Performance of SimCode: time 1.042e-06/1.837, allocations: 0 / 1.461 GB, free: 13.78 MB / 1.201 GB Notification: Performance of Templates: time 0.09269/1.93, allocations: 58.36 MB / 1.518 GB, free: 3.539 MB / 1.248 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches