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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002073/0.002073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002455/0.002455, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437 MB / 0.7104 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 67.89 kB / 0.8692 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6614/0.6636, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2647/0.9283, allocations: 218.5 MB / 1.231 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03265/0.961, allocations: 20.42 MB / 1.251 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003371/0.9645, allocations: 59.69 kB / 1.251 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004308/0.9688, allocations: 1.251 MB / 1.252 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6262/1.595, allocations: 4.069 MB / 1.256 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/1.599, allocations: 1.534 MB / 1.257 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0102/1.61, allocations: 6.959 MB / 1.264 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005393/1.615, allocations: 2.356 MB / 1.266 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006245/1.621, allocations: 2.355 MB / 1.269 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00641/1.628, allocations: 2.457 MB / 1.271 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001924/1.63, allocations: 342.9 kB / 1.272 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009789/1.639, allocations: 3.469 MB / 1.275 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003159/1.643, allocations: 1.45 MB / 1.276 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005856/1.649, allocations: 1.864 MB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01285/1.661, allocations: 5.721 MB / 1.284 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.661, allocations: 2.312 kB / 1.284 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.442e-06/1.661, allocations: 1 kB / 1.284 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001972/1.662, allocations: 0 / 1.284 GB, free: 2.707 MB / 0.9981 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.01367/1.675, allocations: 3.948 MB / 1.288 GB, free: 17.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.675, allocations: 8.875 kB / 1.288 GB, free: 17.21 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005427/1.681, allocations: 0.8263 MB / 1.288 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/1.686, allocations: 1.884 MB / 1.29 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/1.686, allocations: 203.7 kB / 1.29 GB, free: 16.55 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007878/1.687, allocations: 271.3 kB / 1.291 GB, free: 16.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/1.693, allocations: 3.275 MB / 1.294 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.065e-05/1.693, allocations: 0 / 1.294 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002774/1.693, allocations: 116.1 kB / 1.294 GB, free: 16.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/1.693, allocations: 123.5 kB / 1.294 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00674/1.7, allocations: 4.624 MB / 1.299 GB, free: 16.37 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.02249/1.722, allocations: 11 MB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009929/1.732, allocations: 4.866 MB / 1.314 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006406/1.739, allocations: 2.516 MB / 1.317 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/1.741, allocations: 0.8663 MB / 1.317 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.656e-05/1.741, allocations: 89.06 kB / 1.318 GB, free: 11.31 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 9.338e-06/1.741, allocations: 0.8125 kB / 1.318 GB, free: 11.31 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01829/1.759, allocations: 6.013 MB / 1.323 GB, free: 10.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/1.759, allocations: 97.36 kB / 1.323 GB, free: 10.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/1.762, allocations: 1.233 MB / 1.325 GB, free: 10.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0008367/1.763, allocations: 94.64 kB / 1.325 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007924/1.764, allocations: 0.8113 MB / 1.326 GB, free: 10.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.766, allocations: 1.329 MB / 1.327 GB, free: 9.297 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000891/1.766, allocations: 0.5483 MB / 1.327 GB, free: 9.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.767, allocations: 302.2 kB / 1.328 GB, free: 8.973 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002338/1.769, allocations: 1.605 MB / 1.329 GB, free: 8.965 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002575/1.772, allocations: 1.906 MB / 1.331 GB, free: 8.816 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/1.777, allocations: 3.838 MB / 1.335 GB, free: 8.234 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.777, allocations: 0 / 1.335 GB, free: 8.234 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007161/1.784, allocations: 4.19 MB / 1.339 GB, free: 6.645 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/1.784, allocations: 5.969 kB / 1.339 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.784, allocations: 6.281 kB / 1.339 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/1.784, allocations: 15.25 kB / 1.339 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002822/1.787, allocations: 0.6879 MB / 1.34 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.24e-05/1.787, allocations: 20.5 kB / 1.34 GB, free: 6.613 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/1.79, allocations: 236.7 kB / 1.34 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/1.791, allocations: 115.1 kB / 1.34 GB, free: 6.406 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001685/1.792, allocations: 0.7277 MB / 1.341 GB, free: 6.031 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007298/1.793, allocations: 239.8 kB / 1.341 GB, free: 5.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008478/1.801, allocations: 4.642 MB / 1.345 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/1.802, allocations: 38.91 kB / 1.346 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/1.802, allocations: 1.969 kB / 1.346 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006753/1.808, allocations: 3.963 MB / 1.349 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/1.828, allocations: 8.273 MB / 1.357 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/1.828, allocations: 0.8438 kB / 1.357 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005459/1.833, allocations: 0.6593 MB / 1.358 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007713/1.834, allocations: 141.7 kB / 1.358 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006603/1.835, allocations: 84.78 kB / 1.358 GB, free: 9.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/1.841, allocations: 5.052 MB / 1.363 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.841, allocations: 0 / 1.363 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0205/1.862, allocations: 6.819 MB / 1.37 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004012/1.866, allocations: 0.7597 MB / 1.371 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001885/1.868, allocations: 71.12 kB / 1.371 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004842/1.873, allocations: 94.73 kB / 1.371 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0019/1.875, allocations: 226.8 kB / 1.371 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001269/1.876, allocations: 112.7 kB / 1.371 GB, free: 12.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003386/1.879, allocations: 0.8576 MB / 1.372 GB, free: 11.55 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.92e-07/1.879, allocations: 0 / 1.372 GB, free: 11.55 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00583/1.885, allocations: 1.073 MB / 1.373 GB, free: 10.48 MB / 1.045 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.001001/1.886, allocations: 343.7 kB / 1.373 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02565/1.912, allocations: 11.48 MB / 1.385 GB, free: 14.78 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.912, allocations: 0 / 1.385 GB, free: 14.78 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005086/1.917, allocations: 2.546 MB / 1.387 GB, free: 12.27 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006191/1.923, allocations: 1.074 MB / 1.388 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.936, allocations: 6.659 MB / 1.395 GB, free: 4.547 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/1.938, allocations: 1.943 MB / 1.396 GB, free: 2.562 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004773/1.943, allocations: 1.219 MB / 1.398 GB, free: 1.336 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009664/1.944, allocations: 243.4 kB / 1.398 GB, free: 1.098 MB / 1.061 GB Notification: Performance of SimCode: time 1.623e-06/1.944, allocations: 0 / 1.398 GB, free: 1.098 MB / 1.061 GB Notification: Performance of Templates: time 0.08801/2.032, allocations: 47.64 MB / 1.444 GB, free: 2.195 MB / 1.107 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches