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.008636/0.008636, allocations: 99.42 kB / 15.73 MB, free: 6.445 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.001889/0.001889, allocations: 194.9 kB / 16.67 MB, free: 6.352 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.477/2.477, allocations: 390.2 MB / 0.6648 GB, free: 116 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 78.38 kB / 0.9508 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3066, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.956/1.263, allocations: 218.5 MB / 1.301 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02838/1.291, allocations: 20.43 MB / 1.321 GB, free: 3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004177/1.295, allocations: 59.5 kB / 1.321 GB, free: 3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/1.299, allocations: 1.303 MB / 1.323 GB, free: 2.973 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/1.311, allocations: 4.2 MB / 1.327 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00537/1.317, allocations: 1.551 MB / 1.328 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0109/1.328, allocations: 6.97 MB / 1.335 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004513/1.332, allocations: 2.361 MB / 1.337 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006026/1.338, allocations: 2.432 MB / 1.34 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005893/1.344, allocations: 2.461 MB / 1.342 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007838/1.345, allocations: 343.7 kB / 1.342 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008812/1.354, allocations: 3.487 MB / 1.346 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002061/1.356, allocations: 1.45 MB / 1.347 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004528/1.36, allocations: 1.917 MB / 1.349 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01369/1.374, allocations: 5.786 MB / 1.355 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.374, allocations: 0 / 1.355 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.725e-06/1.374, allocations: 0 / 1.355 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000136/1.374, allocations: 0 / 1.355 GB, free: 13.98 MB / 1.029 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.01116/1.386, allocations: 4.041 MB / 1.359 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.386, allocations: 8.281 kB / 1.359 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005044/1.391, allocations: 0.8423 MB / 1.36 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/1.395, allocations: 1.949 MB / 1.361 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/1.395, allocations: 200.7 kB / 1.362 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004437/1.396, allocations: 267.8 kB / 1.362 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/1.401, allocations: 3.281 MB / 1.365 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.966e-05/1.401, allocations: 3.953 kB / 1.365 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/1.402, allocations: 113.7 kB / 1.365 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.402, allocations: 129.8 kB / 1.365 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006897/1.409, allocations: 4.622 MB / 1.37 GB, free: 7.426 MB / 1.029 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.01653/1.425, allocations: 10.94 MB / 1.381 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/1.431, allocations: 4.867 MB / 1.385 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003384/1.435, allocations: 2.523 MB / 1.388 GB, free: 11.08 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.436, allocations: 0.8613 MB / 1.389 GB, free: 10.18 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/1.436, allocations: 85.97 kB / 1.389 GB, free: 10.11 MB / 1.045 GB Notification: Performance of pre-optimization done (n=399): time 5.3e-06/1.436, allocations: 2.375 kB / 1.389 GB, free: 10.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=399): time 0.009572/1.445, allocations: 6.033 MB / 1.395 GB, free: 6.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.445, allocations: 94.55 kB / 1.395 GB, free: 5.91 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.447, allocations: 1.228 MB / 1.396 GB, free: 4.676 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002376/1.447, allocations: 93.7 kB / 1.396 GB, free: 4.578 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005372/1.448, allocations: 0.8258 MB / 1.397 GB, free: 3.746 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.449, allocations: 1.405 MB / 1.398 GB, free: 2.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008093/1.45, allocations: 0.543 MB / 1.399 GB, free: 1.809 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/1.45, allocations: 313 kB / 1.399 GB, free: 1.5 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/1.452, allocations: 1.603 MB / 1.401 GB, free: 15.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/1.455, allocations: 1.908 MB / 1.402 GB, free: 13.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005437/1.46, allocations: 3.828 MB / 1.406 GB, free: 10.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.46, allocations: 4 kB / 1.406 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006648/1.467, allocations: 4.206 MB / 1.41 GB, free: 5.855 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.467, allocations: 8 kB / 1.41 GB, free: 5.848 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.467, allocations: 4 kB / 1.41 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/1.467, allocations: 16.41 kB / 1.41 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/1.47, allocations: 0.6802 MB / 1.411 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.704e-05/1.47, allocations: 22.52 kB / 1.411 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/1.473, allocations: 254 kB / 1.411 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/1.473, allocations: 108 kB / 1.411 GB, free: 4.812 MB / 1.061 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.001367/1.475, allocations: 0.7248 MB / 1.412 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/1.475, allocations: 254.5 kB / 1.412 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007266/1.482, allocations: 4.642 MB / 1.417 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.482, allocations: 40 kB / 1.417 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.482, allocations: 0 / 1.417 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005625/1.488, allocations: 3.963 MB / 1.421 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/1.501, allocations: 8.276 MB / 1.429 GB, free: 2.875 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.501, allocations: 3.938 kB / 1.429 GB, free: 2.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/1.504, allocations: 0.6556 MB / 1.429 GB, free: 2.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.504, allocations: 141 kB / 1.43 GB, free: 2.105 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/1.504, allocations: 83.97 kB / 1.43 GB, free: 2.023 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/1.508, allocations: 5.05 MB / 1.435 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.508, allocations: 4 kB / 1.435 GB, free: 12.57 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009808/1.518, allocations: 6.823 MB / 1.441 GB, free: 5.699 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/1.52, allocations: 0.7797 MB / 1.442 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003633/1.52, allocations: 68 kB / 1.442 GB, free: 4.832 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001849/1.522, allocations: 82.5 kB / 1.442 GB, free: 4.754 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/1.522, allocations: 230.8 kB / 1.442 GB, free: 4.527 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002127/1.523, allocations: 108 kB / 1.442 GB, free: 4.422 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001167/1.524, allocations: 0.8631 MB / 1.443 GB, free: 3.559 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.524, allocations: 0 / 1.443 GB, free: 3.559 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002379/1.526, allocations: 1.081 MB / 1.444 GB, free: 2.477 MB / 1.092 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.0006144/1.527, allocations: 346.6 kB / 1.445 GB, free: 2.172 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005691/1.532, allocations: 4.056 MB / 1.449 GB, free: 14.15 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.532, allocations: 4.188 kB / 1.449 GB, free: 14.15 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003547/1.536, allocations: 2.548 MB / 1.451 GB, free: 11.64 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005204/1.541, allocations: 1.082 MB / 1.452 GB, free: 10.57 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009655/1.551, allocations: 6.672 MB / 1.459 GB, free: 3.867 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/1.552, allocations: 1.946 MB / 1.461 GB, free: 1.879 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003616/1.556, allocations: 1.219 MB / 1.462 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009025/1.557, allocations: 239.4 kB / 1.462 GB, free: 428 kB / 1.107 GB Notification: Performance of SimCode: time 6.51e-07/1.557, allocations: 0 / 1.462 GB, free: 428 kB / 1.107 GB Notification: Performance of Templates: time 0.08361/1.641, allocations: 48.32 MB / 1.509 GB, free: 0.7031 MB / 1.154 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