Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001561/0.001561, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001637/0.001637, allocations: 192.8 kB / 16.91 MB, free: 6.195 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.485/1.485, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.89/2.89, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001962, allocations: 64.16 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3965, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.018/1.414, allocations: 215.7 MB / 1.275 GB, free: 1.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03196/1.446, allocations: 20.34 MB / 1.295 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00391/1.45, allocations: 43.75 kB / 1.295 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003618/1.454, allocations: 1.124 MB / 1.296 GB, free: 11.8 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01278/1.467, allocations: 3.851 MB / 1.3 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/1.472, allocations: 1.397 MB / 1.301 GB, free: 6.547 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01103/1.483, allocations: 6.955 MB / 1.308 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004705/1.488, allocations: 2.317 MB / 1.31 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/1.494, allocations: 2.391 MB / 1.312 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006416/1.5, allocations: 2.617 MB / 1.315 GB, free: 8.195 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001449/1.502, allocations: 344 kB / 1.315 GB, free: 7.859 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/1.512, allocations: 3.632 MB / 1.319 GB, free: 4.219 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003071/1.515, allocations: 1.453 MB / 1.32 GB, free: 2.762 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005755/1.521, allocations: 1.859 MB / 1.322 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.008775/1.529, allocations: 4.315 MB / 1.326 GB, free: 12.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/1.529, allocations: 4 kB / 1.326 GB, free: 12.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.595e-06/1.529, allocations: 0 / 1.326 GB, free: 12.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002534/1.53, allocations: 0 / 1.326 GB, free: 12.57 MB / 1.045 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.01473/1.544, allocations: 3.938 MB / 1.33 GB, free: 8.566 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/1.544, allocations: 12.62 kB / 1.33 GB, free: 8.555 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/1.551, allocations: 0.8275 MB / 1.331 GB, free: 7.723 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/1.556, allocations: 1.879 MB / 1.333 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/1.556, allocations: 209.3 kB / 1.333 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/1.557, allocations: 264 kB / 1.333 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/1.564, allocations: 3.283 MB / 1.336 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-05/1.564, allocations: 7.891 kB / 1.336 GB, free: 1.988 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/1.564, allocations: 112 kB / 1.336 GB, free: 1.879 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/1.564, allocations: 121.4 kB / 1.337 GB, free: 1.758 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008269/1.573, allocations: 4.623 MB / 1.341 GB, free: 13.12 MB / 1.061 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.01934/1.592, allocations: 10.87 MB / 1.352 GB, free: 1.574 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/1.599, allocations: 4.863 MB / 1.356 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004057/1.603, allocations: 2.516 MB / 1.359 GB, free: 10.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/1.605, allocations: 0.8721 MB / 1.36 GB, free: 9.121 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/1.605, allocations: 77.7 kB / 1.36 GB, free: 9.035 MB / 1.076 GB Notification: Performance of pre-optimization done (n=399): time 6.783e-06/1.605, allocations: 3.938 kB / 1.36 GB, free: 9.031 MB / 1.076 GB Notification: Performance of matching and sorting (n=399): time 0.01149/1.616, allocations: 6.027 MB / 1.366 GB, free: 2.918 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.616, allocations: 94.55 kB / 1.366 GB, free: 2.812 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/1.619, allocations: 1.232 MB / 1.367 GB, free: 1.574 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/1.619, allocations: 93.7 kB / 1.367 GB, free: 1.477 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/1.62, allocations: 0.8096 MB / 1.368 GB, free: 0.6562 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/1.622, allocations: 1.332 MB / 1.369 GB, free: 15.3 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009746/1.623, allocations: 0.5469 MB / 1.37 GB, free: 14.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.623, allocations: 301.1 kB / 1.37 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/1.626, allocations: 1.607 MB / 1.372 GB, free: 12.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/1.629, allocations: 1.911 MB / 1.373 GB, free: 10.89 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006413/1.635, allocations: 3.838 MB / 1.377 GB, free: 6.988 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.635, allocations: 0 / 1.377 GB, free: 6.988 MB / 1.092 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007915/1.643, allocations: 4.187 MB / 1.381 GB, free: 2.777 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.982e-05/1.643, allocations: 7.938 kB / 1.381 GB, free: 2.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.643, allocations: 4 kB / 1.381 GB, free: 2.766 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/1.643, allocations: 16 kB / 1.381 GB, free: 2.75 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/1.646, allocations: 0.6865 MB / 1.382 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/1.646, allocations: 20 kB / 1.382 GB, free: 2.043 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003408/1.65, allocations: 397.4 kB / 1.382 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/1.65, allocations: 116 kB / 1.382 GB, free: 1.539 MB / 1.092 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.001676/1.652, allocations: 0.7312 MB / 1.383 GB, free: 0.7969 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007331/1.653, allocations: 241 kB / 1.383 GB, free: 0.5586 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008533/1.661, allocations: 4.633 MB / 1.388 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/1.661, allocations: 43.92 kB / 1.388 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/1.661, allocations: 0 / 1.388 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00685/1.668, allocations: 3.965 MB / 1.392 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.684, allocations: 8.276 MB / 1.4 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.684, allocations: 0 / 1.4 GB, free: 15.45 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003034/1.687, allocations: 0.667 MB / 1.401 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005434/1.687, allocations: 130.5 kB / 1.401 GB, free: 14.64 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002422/1.688, allocations: 87.92 kB / 1.401 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/1.693, allocations: 5.04 MB / 1.406 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.693, allocations: 0 / 1.406 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/1.705, allocations: 6.814 MB / 1.412 GB, free: 2.23 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/1.708, allocations: 0.7627 MB / 1.413 GB, free: 1.445 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/1.708, allocations: 71.98 kB / 1.413 GB, free: 1.375 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/1.711, allocations: 221.7 kB / 1.413 GB, free: 1.16 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/1.711, allocations: 226.8 kB / 1.414 GB, free: 0.9375 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/1.711, allocations: 108 kB / 1.414 GB, free: 0.832 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00153/1.713, allocations: 0.8606 MB / 1.415 GB, free: 15.97 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.91e-07/1.713, allocations: 4 kB / 1.415 GB, free: 15.96 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003395/1.716, allocations: 1.084 MB / 1.416 GB, free: 14.88 MB / 1.139 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.0009276/1.717, allocations: 346.3 kB / 1.416 GB, free: 14.53 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.02675/1.744, allocations: 11.48 MB / 1.427 GB, free: 3.039 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/1.744, allocations: 4.25 kB / 1.427 GB, free: 3.035 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004859/1.749, allocations: 2.551 MB / 1.43 GB, free: 456 kB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006079/1.755, allocations: 1.074 MB / 1.431 GB, free: 15.39 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.768, allocations: 8.001 MB / 1.439 GB, free: 7.336 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.77, allocations: 1.939 MB / 1.44 GB, free: 5.355 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/1.772, allocations: 279.4 kB / 1.441 GB, free: 5.082 MB / 1.154 GB Notification: Performance of SimCode: time 1.172e-06/1.772, allocations: 0 / 1.441 GB, free: 5.082 MB / 1.154 GB Notification: Performance of Templates: time 0.09911/1.871, allocations: 58.05 MB / 1.497 GB, free: 11.14 MB / 1.217 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches