Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009639/0.0009637, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001248/0.001248, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.93/2.93, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003654, allocations: 10.91 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3715, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.13/1.501, allocations: 199 MB / 1.252 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02748/1.529, allocations: 19.09 MB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003122/1.532, allocations: 48.75 kB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003011/1.535, allocations: 0.8193 MB / 1.272 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/1.547, allocations: 3.036 MB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005073/1.552, allocations: 1.061 MB / 1.276 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01493/1.567, allocations: 8.018 MB / 1.284 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005974/1.573, allocations: 1.727 MB / 1.285 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008761/1.582, allocations: 2.008 MB / 1.287 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00723/1.589, allocations: 2.397 MB / 1.29 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009153/1.59, allocations: 163.5 kB / 1.29 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008884/1.599, allocations: 1.729 MB / 1.292 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002202/1.601, allocations: 1.259 MB / 1.293 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002684/1.604, allocations: 0.633 MB / 1.293 GB, free: 21.86 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006299/1.61, allocations: 3.957 MB / 1.297 GB, free: 21.55 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.61, allocations: 3.938 kB / 1.297 GB, free: 21.55 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.523e-06/1.61, allocations: 1.25 kB / 1.297 GB, free: 21.55 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001041/1.61, allocations: 0 / 1.297 GB, free: 21.55 MB / 1.014 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.009038/1.62, allocations: 3.488 MB / 1.301 GB, free: 20.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.62, allocations: 9.188 kB / 1.301 GB, free: 20.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/1.624, allocations: 0.8276 MB / 1.301 GB, free: 19.9 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/1.628, allocations: 1.828 MB / 1.303 GB, free: 19.46 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/1.628, allocations: 204 kB / 1.303 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/1.629, allocations: 274.9 kB / 1.304 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006003/1.635, allocations: 3.261 MB / 1.307 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/1.635, allocations: 2.938 kB / 1.307 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/1.635, allocations: 106.8 kB / 1.307 GB, free: 19.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/1.635, allocations: 129.3 kB / 1.307 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006545/1.642, allocations: 4.606 MB / 1.312 GB, free: 19.26 MB / 1.014 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.01638/1.658, allocations: 10.89 MB / 1.322 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005711/1.664, allocations: 4.845 MB / 1.327 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003691/1.668, allocations: 2.507 MB / 1.329 GB, free: 14.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/1.669, allocations: 0.8729 MB / 1.33 GB, free: 13.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/1.669, allocations: 73.11 kB / 1.33 GB, free: 13.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.973e-06/1.669, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.009421/1.678, allocations: 6.009 MB / 1.336 GB, free: 12.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/1.679, allocations: 92.11 kB / 1.336 GB, free: 12.44 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/1.68, allocations: 1.218 MB / 1.338 GB, free: 12.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.681, allocations: 92.92 kB / 1.338 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/1.681, allocations: 0.8148 MB / 1.338 GB, free: 11.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.682, allocations: 1.329 MB / 1.34 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/1.683, allocations: 69.09 kB / 1.34 GB, free: 10.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002717/1.683, allocations: 445.7 kB / 1.34 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/1.685, allocations: 1.59 MB / 1.342 GB, free: 10.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/1.688, allocations: 1.9 MB / 1.344 GB, free: 9.641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/1.69, allocations: 1.889 MB / 1.345 GB, free: 9.418 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/1.69, allocations: 0 / 1.345 GB, free: 9.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006266/1.697, allocations: 4.165 MB / 1.349 GB, free: 8.742 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.697, allocations: 12 kB / 1.35 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.697, allocations: 3.281 kB / 1.35 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/1.697, allocations: 18.88 kB / 1.35 GB, free: 8.738 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/1.699, allocations: 0.684 MB / 1.35 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/1.7, allocations: 25.27 kB / 1.35 GB, free: 8.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/1.703, allocations: 401 kB / 1.351 GB, free: 8.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.703, allocations: 118.5 kB / 1.351 GB, free: 8.449 MB / 1.014 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001772/1.705, allocations: 0.729 MB / 1.351 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006994/1.706, allocations: 239.8 kB / 1.352 GB, free: 8.125 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007864/1.714, allocations: 4.634 MB / 1.356 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-05/1.714, allocations: 36.59 kB / 1.356 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/1.714, allocations: 0 / 1.356 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005661/1.719, allocations: 3.952 MB / 1.36 GB, free: 6.469 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/1.734, allocations: 8.265 MB / 1.368 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.734, allocations: 0 / 1.368 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002985/1.737, allocations: 0.6526 MB / 1.369 GB, free: 3.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/1.738, allocations: 146 kB / 1.369 GB, free: 2.973 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002287/1.738, allocations: 80.72 kB / 1.369 GB, free: 2.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003908/1.742, allocations: 4.515 MB / 1.373 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.742, allocations: 2.438 kB / 1.373 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.752, allocations: 6.79 MB / 1.38 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/1.755, allocations: 0.7669 MB / 1.381 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005013/1.755, allocations: 71.27 kB / 1.381 GB, free: 9.211 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.757, allocations: 219.3 kB / 1.381 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003911/1.758, allocations: 223.2 kB / 1.381 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/1.758, allocations: 115.6 kB / 1.381 GB, free: 8.77 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001248/1.759, allocations: 0.8515 MB / 1.382 GB, free: 8.156 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.8e-07/1.759, allocations: 0 / 1.382 GB, free: 8.156 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003322/1.763, allocations: 1.082 MB / 1.383 GB, free: 7.18 MB / 1.029 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007081/1.763, allocations: 355.2 kB / 1.384 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005952/1.769, allocations: 4.02 MB / 1.388 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.769, allocations: 3.344 kB / 1.388 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003462/1.773, allocations: 2.544 MB / 1.39 GB, free: 2.332 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.778, allocations: 1.036 MB / 1.391 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/1.79, allocations: 7.878 MB / 1.399 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001851/1.792, allocations: 1.936 MB / 1.401 GB, free: 8.703 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.004565/1.796, allocations: 1.227 MB / 1.402 GB, free: 7.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009432/1.797, allocations: 240.3 kB / 1.402 GB, free: 7.246 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/1.797, allocations: 0 / 1.402 GB, free: 7.246 MB / 1.045 GB Notification: Performance of Templates: time 0.08298/1.88, allocations: 43.67 MB / 1.445 GB, free: 12.21 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches