Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001264/0.001264, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001346/0.001346, allocations: 189.1 kB / 17.3 MB, free: 5.613 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.5 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3445, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.8636/1.208, allocations: 218.5 MB / 1.232 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02805/1.236, allocations: 20.43 MB / 1.252 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/1.24, allocations: 59.62 kB / 1.252 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003789/1.244, allocations: 1.251 MB / 1.253 GB, free: 8.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01148/1.255, allocations: 4.078 MB / 1.257 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0044/1.26, allocations: 1.541 MB / 1.259 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.009231/1.269, allocations: 6.966 MB / 1.266 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003829/1.273, allocations: 2.352 MB / 1.268 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005414/1.278, allocations: 2.368 MB / 1.27 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005445/1.284, allocations: 2.461 MB / 1.273 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007613/1.284, allocations: 344 kB / 1.273 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00868/1.293, allocations: 3.457 MB / 1.276 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001705/1.295, allocations: 1.457 MB / 1.278 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003318/1.298, allocations: 1.867 MB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/1.309, allocations: 5.765 MB / 1.285 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/1.309, allocations: 4 kB / 1.285 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.194e-06/1.309, allocations: 3.938 kB / 1.285 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001073/1.309, allocations: 0 / 1.285 GB, free: 7.805 MB / 0.9825 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.00976/1.319, allocations: 3.938 MB / 1.289 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.319, allocations: 8.031 kB / 1.289 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004847/1.324, allocations: 0.8275 MB / 1.29 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004735/1.328, allocations: 1.937 MB / 1.292 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/1.329, allocations: 209.3 kB / 1.292 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000491/1.329, allocations: 264 kB / 1.292 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005783/1.335, allocations: 3.283 MB / 1.296 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-05/1.335, allocations: 3.906 kB / 1.296 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/1.335, allocations: 116 kB / 1.296 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001341/1.335, allocations: 121.4 kB / 1.296 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007666/1.343, allocations: 4.623 MB / 1.3 GB, free: 8.305 MB / 0.9981 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.01876/1.362, allocations: 10.92 MB / 1.311 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006475/1.368, allocations: 4.858 MB / 1.316 GB, free: 7.809 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003987/1.372, allocations: 2.524 MB / 1.318 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/1.374, allocations: 0.8643 MB / 1.319 GB, free: 4.25 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.749e-05/1.374, allocations: 81.7 kB / 1.319 GB, free: 4.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.853e-06/1.374, allocations: 0 / 1.319 GB, free: 4.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01128/1.385, allocations: 6.023 MB / 1.325 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/1.385, allocations: 94.55 kB / 1.325 GB, free: 13.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/1.388, allocations: 1.228 MB / 1.326 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003602/1.388, allocations: 93.7 kB / 1.326 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/1.389, allocations: 0.8096 MB / 1.327 GB, free: 11.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/1.39, allocations: 1.332 MB / 1.328 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.391, allocations: 0.5469 MB / 1.329 GB, free: 9.887 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.391, allocations: 305.1 kB / 1.329 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/1.394, allocations: 1.603 MB / 1.331 GB, free: 7.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00307/1.397, allocations: 1.901 MB / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006171/1.404, allocations: 3.834 MB / 1.336 GB, free: 2.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/1.404, allocations: 4 kB / 1.336 GB, free: 2.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00751/1.411, allocations: 4.187 MB / 1.34 GB, free: 13.92 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.411, allocations: 11.94 kB / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/1.411, allocations: 7.984 kB / 1.341 GB, free: 13.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.217e-05/1.411, allocations: 16 kB / 1.341 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/1.414, allocations: 0.6908 MB / 1.341 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-05/1.414, allocations: 16.94 kB / 1.341 GB, free: 13.18 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.417, allocations: 241.3 kB / 1.341 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003283/1.417, allocations: 116 kB / 1.342 GB, free: 12.83 MB / 1.045 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.001556/1.419, allocations: 0.7333 MB / 1.342 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007916/1.419, allocations: 241.1 kB / 1.343 GB, free: 11.85 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008295/1.428, allocations: 4.631 MB / 1.347 GB, free: 7.172 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/1.428, allocations: 43.94 kB / 1.347 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.428, allocations: 0 / 1.347 GB, free: 7.129 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006247/1.434, allocations: 3.961 MB / 1.351 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/1.449, allocations: 8.266 MB / 1.359 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.449, allocations: 0 / 1.359 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/1.452, allocations: 0.6592 MB / 1.36 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005105/1.452, allocations: 138.5 kB / 1.36 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003672/1.453, allocations: 91.91 kB / 1.36 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/1.457, allocations: 5.036 MB / 1.365 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.457, allocations: 12.08 kB / 1.365 GB, free: 4.395 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/1.47, allocations: 6.826 MB / 1.371 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.472, allocations: 0.7705 MB / 1.372 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006813/1.473, allocations: 68 kB / 1.372 GB, free: 12.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.475, allocations: 84.12 kB / 1.372 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005369/1.475, allocations: 222.8 kB / 1.373 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003441/1.476, allocations: 112 kB / 1.373 GB, free: 12.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001706/1.477, allocations: 0.8606 MB / 1.374 GB, free: 11.38 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.477, allocations: 0 / 1.374 GB, free: 11.38 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003184/1.481, allocations: 1.076 MB / 1.375 GB, free: 10.3 MB / 1.076 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.0007952/1.481, allocations: 336.9 kB / 1.375 GB, free: 9.969 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00688/1.488, allocations: 4.055 MB / 1.379 GB, free: 5.902 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.488, allocations: 4 kB / 1.379 GB, free: 5.898 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004084/1.493, allocations: 2.552 MB / 1.381 GB, free: 3.309 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/1.498, allocations: 1.067 MB / 1.382 GB, free: 2.254 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.509, allocations: 6.595 MB / 1.389 GB, free: 11.61 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/1.511, allocations: 1.943 MB / 1.391 GB, free: 9.629 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.004477/1.516, allocations: 1.219 MB / 1.392 GB, free: 8.402 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.517, allocations: 243.4 kB / 1.392 GB, free: 8.164 MB / 1.092 GB Notification: Performance of SimCode: time 1.082e-06/1.517, allocations: 7.938 kB / 1.392 GB, free: 8.156 MB / 1.092 GB Notification: Performance of Templates: time 0.07738/1.594, allocations: 47.6 MB / 1.439 GB, free: 9.082 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches