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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001299/0.001299, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 66.81 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.9055/1.245, allocations: 216.2 MB / 1.263 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0268/1.272, allocations: 20.75 MB / 1.283 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003324/1.275, allocations: 48.88 kB / 1.283 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003728/1.279, allocations: 1.092 MB / 1.285 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/1.292, allocations: 3.848 MB / 1.288 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/1.297, allocations: 1.383 MB / 1.29 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01223/1.309, allocations: 9.515 MB / 1.299 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004378/1.313, allocations: 2.001 MB / 1.301 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005966/1.319, allocations: 2.03 MB / 1.303 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/1.326, allocations: 2.54 MB / 1.305 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001547/1.328, allocations: 185.2 kB / 1.306 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01069/1.339, allocations: 3.946 MB / 1.309 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002639/1.341, allocations: 1.296 MB / 1.311 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006159/1.347, allocations: 1.695 MB / 1.312 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/1.36, allocations: 5.833 MB / 1.318 GB, free: 340 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.36, allocations: 0 / 1.318 GB, free: 340 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/1.36, allocations: 2.094 kB / 1.318 GB, free: 340 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000207/1.36, allocations: 0 / 1.318 GB, free: 340 kB / 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.01377/1.374, allocations: 3.94 MB / 1.322 GB, free: 14.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/1.374, allocations: 8.469 kB / 1.322 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/1.38, allocations: 0.8403 MB / 1.323 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005125/1.385, allocations: 1.882 MB / 1.325 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/1.385, allocations: 200.5 kB / 1.325 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009918/1.386, allocations: 268.8 kB / 1.325 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008688/1.395, allocations: 3.277 MB / 1.328 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/1.395, allocations: 9.812 kB / 1.328 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006277/1.396, allocations: 107.6 kB / 1.328 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/1.396, allocations: 130.3 kB / 1.328 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009297/1.405, allocations: 4.621 MB / 1.333 GB, free: 13.92 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.01976/1.425, allocations: 10.87 MB / 1.344 GB, free: 8.719 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006883/1.432, allocations: 4.862 MB / 1.348 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.436, allocations: 2.522 MB / 1.351 GB, free: 7.223 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.437, allocations: 0.8652 MB / 1.352 GB, free: 6.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/1.438, allocations: 81.89 kB / 1.352 GB, free: 6.246 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 7.684e-06/1.438, allocations: 0 / 1.352 GB, free: 6.246 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.01243/1.45, allocations: 6.022 MB / 1.358 GB, free: 3.164 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.45, allocations: 91.11 kB / 1.358 GB, free: 3.098 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/1.453, allocations: 1.23 MB / 1.359 GB, free: 2.438 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0005151/1.453, allocations: 92.36 kB / 1.359 GB, free: 2.355 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006612/1.454, allocations: 0.8152 MB / 1.36 GB, free: 1.637 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.455, allocations: 1.335 MB / 1.361 GB, free: 484 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/1.457, allocations: 0.5465 MB / 1.362 GB, free: 180 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.457, allocations: 303.7 kB / 1.362 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002795/1.46, allocations: 1.604 MB / 1.363 GB, free: 15.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/1.463, allocations: 1.908 MB / 1.365 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/1.469, allocations: 3.842 MB / 1.369 GB, free: 11.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.469, allocations: 0 / 1.369 GB, free: 11.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.008117/1.477, allocations: 4.186 MB / 1.373 GB, free: 7.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/1.477, allocations: 8.031 kB / 1.373 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.477, allocations: 7.938 kB / 1.373 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.497e-05/1.477, allocations: 20 kB / 1.373 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/1.48, allocations: 0.6801 MB / 1.374 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.06e-05/1.48, allocations: 22.62 kB / 1.374 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.484, allocations: 405.1 kB / 1.374 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/1.484, allocations: 108 kB / 1.374 GB, free: 6.344 MB / 1.029 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.002108/1.486, allocations: 0.7287 MB / 1.375 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.488, allocations: 241.1 kB / 1.375 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009162/1.497, allocations: 4.638 MB / 1.38 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/1.497, allocations: 39.94 kB / 1.38 GB, free: 0.6875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/1.497, allocations: 4 kB / 1.38 GB, free: 0.6836 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00731/1.504, allocations: 3.962 MB / 1.384 GB, free: 12.67 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.523, allocations: 8.277 MB / 1.392 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/1.523, allocations: 0 / 1.392 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/1.527, allocations: 0.6595 MB / 1.392 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/1.527, allocations: 141 kB / 1.393 GB, free: 3.641 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005513/1.528, allocations: 83.91 kB / 1.393 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/1.532, allocations: 4.509 MB / 1.397 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.532, allocations: 0 / 1.397 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.545, allocations: 6.823 MB / 1.404 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.547, allocations: 0.7588 MB / 1.404 GB, free: 7.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007799/1.548, allocations: 64 kB / 1.405 GB, free: 6.961 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.551, allocations: 223.7 kB / 1.405 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/1.551, allocations: 229.2 kB / 1.405 GB, free: 6.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000338/1.552, allocations: 115.9 kB / 1.405 GB, free: 6.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001587/1.553, allocations: 0.8567 MB / 1.406 GB, free: 5.551 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.51e-07/1.553, allocations: 0 / 1.406 GB, free: 5.551 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003994/1.557, allocations: 1.088 MB / 1.407 GB, free: 4.461 MB / 1.061 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.0009813/1.558, allocations: 349.8 kB / 1.407 GB, free: 4.152 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.007323/1.566, allocations: 4.046 MB / 1.411 GB, free: 144 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.566, allocations: 0 / 1.411 GB, free: 144 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004391/1.57, allocations: 2.551 MB / 1.414 GB, free: 13.62 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006227/1.576, allocations: 1.029 MB / 1.415 GB, free: 12.61 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.59, allocations: 7.838 MB / 1.422 GB, free: 4.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/1.593, allocations: 1.935 MB / 1.424 GB, free: 2.773 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.005897/1.598, allocations: 1.227 MB / 1.425 GB, free: 1.539 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/1.6, allocations: 239.4 kB / 1.426 GB, free: 1.305 MB / 1.076 GB Notification: Performance of SimCode: time 1.503e-06/1.6, allocations: 0 / 1.426 GB, free: 1.305 MB / 1.076 GB Notification: Performance of Templates: time 0.07851/1.679, allocations: 45.61 MB / 1.47 GB, free: 4.293 MB / 1.123 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