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.001717/0.001717, allocations: 101.8 kB / 16.27 MB, free: 6.414 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.001854/0.001854, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.584/1.584, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.739/2.739, allocations: 437.1 MB / 0.7111 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.11 kB / 0.8699 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 151.6 MB / 1.018 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 1.034/1.429, allocations: 218.5 MB / 1.231 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03329/1.463, allocations: 20.42 MB / 1.251 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004128/1.467, allocations: 55.75 kB / 1.251 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004527/1.471, allocations: 1.251 MB / 1.253 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/1.486, allocations: 4.085 MB / 1.257 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005619/1.491, allocations: 1.531 MB / 1.258 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01179/1.503, allocations: 6.959 MB / 1.265 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005347/1.509, allocations: 2.355 MB / 1.267 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006408/1.515, allocations: 2.356 MB / 1.269 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006442/1.521, allocations: 2.451 MB / 1.272 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001737/1.523, allocations: 340 kB / 1.272 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01043/1.534, allocations: 3.473 MB / 1.276 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00316/1.537, allocations: 1.45 MB / 1.277 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005768/1.543, allocations: 1.871 MB / 1.279 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/1.557, allocations: 5.722 MB / 1.284 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.557, allocations: 0 / 1.284 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/1.557, allocations: 0 / 1.284 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002323/1.558, allocations: 0 / 1.284 GB, free: 8.281 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.01496/1.573, allocations: 3.941 MB / 1.288 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.573, allocations: 15.97 kB / 1.288 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006046/1.579, allocations: 0.8275 MB / 1.289 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/1.584, allocations: 1.879 MB / 1.291 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/1.584, allocations: 201.4 kB / 1.291 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/1.585, allocations: 276 kB / 1.291 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006921/1.592, allocations: 3.275 MB / 1.295 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.534e-05/1.592, allocations: 3.906 kB / 1.295 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/1.592, allocations: 112 kB / 1.295 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/1.592, allocations: 121.4 kB / 1.295 GB, free: 13.47 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008513/1.601, allocations: 4.635 MB / 1.299 GB, free: 8.824 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.02072/1.622, allocations: 10.98 MB / 1.31 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007266/1.629, allocations: 4.853 MB / 1.315 GB, free: 8.277 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004342/1.633, allocations: 2.532 MB / 1.317 GB, free: 5.742 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/1.635, allocations: 0.8602 MB / 1.318 GB, free: 4.715 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.94e-05/1.635, allocations: 77.7 kB / 1.318 GB, free: 4.629 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 6.632e-06/1.635, allocations: 0 / 1.318 GB, free: 4.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01236/1.647, allocations: 6.023 MB / 1.324 GB, free: 14.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/1.647, allocations: 94.55 kB / 1.324 GB, free: 14.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/1.65, allocations: 1.232 MB / 1.325 GB, free: 13.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004535/1.65, allocations: 93.7 kB / 1.325 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000822/1.651, allocations: 0.8135 MB / 1.326 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.653, allocations: 1.332 MB / 1.328 GB, free: 10.9 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/1.654, allocations: 0.5469 MB / 1.328 GB, free: 10.35 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.655, allocations: 301.1 kB / 1.328 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/1.658, allocations: 1.603 MB / 1.33 GB, free: 8.445 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/1.661, allocations: 1.909 MB / 1.332 GB, free: 6.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006853/1.668, allocations: 3.834 MB / 1.336 GB, free: 2.598 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.119e-05/1.668, allocations: 8 kB / 1.336 GB, free: 2.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.00827/1.676, allocations: 4.187 MB / 1.34 GB, free: 14.38 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/1.676, allocations: 7.938 kB / 1.34 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.676, allocations: 4 kB / 1.34 GB, free: 14.37 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.169e-05/1.677, allocations: 19.98 kB / 1.34 GB, free: 14.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.68, allocations: 0.6865 MB / 1.34 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-05/1.68, allocations: 20.25 kB / 1.34 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.683, allocations: 249.3 kB / 1.341 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/1.683, allocations: 108 kB / 1.341 GB, free: 13.29 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.0019/1.685, allocations: 0.7312 MB / 1.341 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009949/1.686, allocations: 241.1 kB / 1.342 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009245/1.695, allocations: 4.639 MB / 1.346 GB, free: 7.625 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-05/1.695, allocations: 43.94 kB / 1.346 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.787e-05/1.695, allocations: 0 / 1.346 GB, free: 7.582 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007296/1.703, allocations: 3.961 MB / 1.35 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/1.721, allocations: 8.273 MB / 1.358 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.721, allocations: 0 / 1.358 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/1.724, allocations: 0.6554 MB / 1.359 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006303/1.725, allocations: 138.5 kB / 1.359 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/1.725, allocations: 87.91 kB / 1.359 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005285/1.731, allocations: 5.048 MB / 1.364 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.731, allocations: 0 / 1.364 GB, free: 4.852 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.747, allocations: 6.828 MB / 1.371 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002809/1.75, allocations: 0.7627 MB / 1.371 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/1.751, allocations: 68 kB / 1.371 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.754, allocations: 88.5 kB / 1.372 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006904/1.755, allocations: 226.8 kB / 1.372 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004366/1.755, allocations: 108 kB / 1.372 GB, free: 12.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001886/1.757, allocations: 0.8606 MB / 1.373 GB, free: 11.84 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.757, allocations: 0 / 1.373 GB, free: 11.84 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004019/1.761, allocations: 1.073 MB / 1.374 GB, free: 10.77 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.001057/1.762, allocations: 341.1 kB / 1.374 GB, free: 10.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02516/1.787, allocations: 11.48 MB / 1.385 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.788, allocations: 4 kB / 1.385 GB, free: 14.93 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00525/1.793, allocations: 2.552 MB / 1.388 GB, free: 12.34 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006808/1.8, allocations: 1.073 MB / 1.389 GB, free: 11.29 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/1.814, allocations: 6.804 MB / 1.395 GB, free: 4.43 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002506/1.817, allocations: 1.939 MB / 1.397 GB, free: 2.449 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.819, allocations: 279.4 kB / 1.398 GB, free: 2.176 MB / 1.092 GB Notification: Performance of SimCode: time 1.032e-06/1.819, allocations: 0 / 1.398 GB, free: 2.176 MB / 1.092 GB Notification: Performance of Templates: time 0.1025/1.921, allocations: 58.04 MB / 1.454 GB, free: 8.246 MB / 1.154 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/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