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.001446/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001786/0.001786, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.323/2.323, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7583/0.7606, allocations: 140.4 MB / 0.9491 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2278/0.9885, allocations: 215.7 MB / 1.16 GB, free: 9.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02793/1.016, allocations: 20.31 MB / 1.18 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/1.02, allocations: 51.69 kB / 1.18 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003838/1.024, allocations: 1.12 MB / 1.181 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01135/1.035, allocations: 3.842 MB / 1.184 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/1.04, allocations: 1.402 MB / 1.186 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00881/1.049, allocations: 6.975 MB / 1.193 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003979/1.053, allocations: 2.317 MB / 1.195 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/1.058, allocations: 2.387 MB / 1.197 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005471/1.063, allocations: 2.626 MB / 1.2 GB, free: 396 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/1.064, allocations: 340 kB / 1.2 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00812/1.073, allocations: 3.624 MB / 1.204 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002409/1.075, allocations: 1.454 MB / 1.205 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004655/1.08, allocations: 1.871 MB / 1.207 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/1.092, allocations: 5.959 MB / 1.213 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/1.092, allocations: 0 / 1.213 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/1.092, allocations: 0 / 1.213 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001251/1.092, allocations: 0 / 1.213 GB, free: 3.109 MB / 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.01037/1.102, allocations: 3.945 MB / 1.217 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.102, allocations: 11.97 kB / 1.217 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004959/1.107, allocations: 0.8315 MB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/1.111, allocations: 1.879 MB / 1.219 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/1.111, allocations: 205.4 kB / 1.219 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004478/1.112, allocations: 268 kB / 1.22 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005717/1.118, allocations: 3.271 MB / 1.223 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.275e-05/1.118, allocations: 7.984 kB / 1.223 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/1.118, allocations: 112 kB / 1.223 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/1.118, allocations: 133.3 kB / 1.223 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006894/1.125, allocations: 4.616 MB / 1.228 GB, free: 3.66 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.01613/1.141, allocations: 10.87 MB / 1.238 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005832/1.147, allocations: 4.865 MB / 1.243 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/1.15, allocations: 2.52 MB / 1.245 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6187/1.769, allocations: 0.8591 MB / 1.246 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.959e-05/1.769, allocations: 80.28 kB / 1.246 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 6.011e-06/1.769, allocations: 4.906 kB / 1.246 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01259/1.782, allocations: 6.019 MB / 1.252 GB, free: 281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/1.782, allocations: 92.33 kB / 1.252 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/1.785, allocations: 1.23 MB / 1.254 GB, free: 280.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004561/1.785, allocations: 92.61 kB / 1.254 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/1.786, allocations: 0.8155 MB / 1.254 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.787, allocations: 1.33 MB / 1.256 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009088/1.788, allocations: 0.5543 MB / 1.256 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.378e-05/1.788, allocations: 306.1 kB / 1.257 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003092/1.791, allocations: 1.606 MB / 1.258 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/1.794, allocations: 1.908 MB / 1.26 GB, free: 277 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005167/1.799, allocations: 3.836 MB / 1.264 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/1.799, allocations: 1.375 kB / 1.264 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006415/1.805, allocations: 4.187 MB / 1.268 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.805, allocations: 5.562 kB / 1.268 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.805, allocations: 8.891 kB / 1.268 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/1.805, allocations: 20.8 kB / 1.268 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/1.808, allocations: 0.6787 MB / 1.269 GB, free: 273.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-05/1.808, allocations: 21.12 kB / 1.269 GB, free: 273.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.811, allocations: 403.6 kB / 1.269 GB, free: 273.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002387/1.811, allocations: 113 kB / 1.269 GB, free: 273.2 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.001228/1.813, allocations: 0.7247 MB / 1.27 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005381/1.813, allocations: 248.8 kB / 1.27 GB, free: 272.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006688/1.82, allocations: 4.631 MB / 1.275 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/1.82, allocations: 38.03 kB / 1.275 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.82, allocations: 1.406 kB / 1.275 GB, free: 270 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004859/1.825, allocations: 3.961 MB / 1.278 GB, free: 268 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/1.836, allocations: 8.27 MB / 1.287 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.836, allocations: 0.875 kB / 1.287 GB, free: 263.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002607/1.839, allocations: 0.6639 MB / 1.287 GB, free: 262.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004393/1.839, allocations: 142.3 kB / 1.287 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/1.839, allocations: 87.97 kB / 1.287 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/1.842, allocations: 5.037 MB / 1.292 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.842, allocations: 0 / 1.292 GB, free: 257.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008321/1.85, allocations: 6.813 MB / 1.299 GB, free: 250.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/1.852, allocations: 0.7589 MB / 1.3 GB, free: 249.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006044/1.853, allocations: 68 kB / 1.3 GB, free: 249.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002674/1.855, allocations: 225 kB / 1.3 GB, free: 249.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004397/1.856, allocations: 230.6 kB / 1.3 GB, free: 249 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.856, allocations: 115.8 kB / 1.3 GB, free: 248.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001266/1.857, allocations: 0.8645 MB / 1.301 GB, free: 248 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.857, allocations: 0 / 1.301 GB, free: 248 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00313/1.86, allocations: 1.082 MB / 1.302 GB, free: 246.9 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.0007659/1.861, allocations: 335.8 kB / 1.303 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02111/1.882, allocations: 11.49 MB / 1.314 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.882, allocations: 0 / 1.314 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.886, allocations: 2.552 MB / 1.316 GB, free: 232.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005371/1.891, allocations: 1.068 MB / 1.317 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009768/1.901, allocations: 7.852 MB / 1.325 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00177/1.903, allocations: 1.939 MB / 1.327 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004526/1.907, allocations: 1.226 MB / 1.328 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/1.909, allocations: 243.3 kB / 1.328 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.909, allocations: 0 / 1.328 GB, free: 220.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.06612/1.975, allocations: 47.47 MB / 1.375 GB, free: 173.5 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