Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") translateModel(Buildings.Airflow.Multizone.Examples.OneOpenDoor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooOpe.vAB|dooOpe.vBA|dooOpeClo.vAB|dooOpeClo.vBA|dooOpe.port_a1.m_flow|dooOpe.port_a2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 92 kB / 16.02 MB, free: 80 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.001347/0.001348, allocations: 176.5 kB / 16.92 MB, free: 6.652 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 14.69 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3605, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1847/0.5453, allocations: 162.4 MB / 1.218 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.5599, allocations: 8.467 MB / 1.226 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.5621, allocations: 31.81 kB / 1.226 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.5642, allocations: 493.4 kB / 1.227 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005038/0.5692, allocations: 1.441 MB / 1.228 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.5723, allocations: 0.8989 MB / 1.229 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006878/0.5792, allocations: 5.392 MB / 1.234 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.5817, allocations: 1.076 MB / 1.235 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.5848, allocations: 1.257 MB / 1.236 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.5877, allocations: 1.499 MB / 1.238 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005993/0.5884, allocations: 92 kB / 1.238 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.5916, allocations: 1.037 MB / 1.239 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.5928, allocations: 0.5724 MB / 1.24 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002327/0.5951, allocations: 0.9347 MB / 1.241 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003252/0.5984, allocations: 2.022 MB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.5984, allocations: 4 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of FrontEnd: time 4.729e-06/0.5984, allocations: 7.938 kB / 1.243 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.5984, allocations: 3.938 kB / 1.243 GB, free: 8.68 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.004947/0.6034, allocations: 1.997 MB / 1.244 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.6035, allocations: 15.97 kB / 1.244 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005457/0.604, allocations: 198.7 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.6063, allocations: 1.185 MB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/0.6064, allocations: 111 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.6067, allocations: 152 kB / 1.246 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.6102, allocations: 1.923 MB / 1.248 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.297e-05/0.6103, allocations: 7.938 kB / 1.248 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.6105, allocations: 64 kB / 1.248 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.6105, allocations: 36 kB / 1.248 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004558/0.6151, allocations: 2.49 MB / 1.25 GB, free: 368 kB / 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.709/1.324, allocations: 6.084 MB / 1.256 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/1.328, allocations: 2.811 MB / 1.259 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/1.33, allocations: 1.424 MB / 1.261 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/1.331, allocations: 1.741 MB / 1.262 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.487e-05/1.331, allocations: 61.5 kB / 1.262 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=237): time 5.15e-06/1.331, allocations: 3.703 kB / 1.262 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=237): time 0.005671/1.337, allocations: 3.456 MB / 1.266 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.337, allocations: 78.88 kB / 1.266 GB, free: 186 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.338, allocations: 0.7658 MB / 1.267 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.338, allocations: 62.48 kB / 1.267 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/1.339, allocations: 488.5 kB / 1.267 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/1.339, allocations: 0.791 MB / 1.268 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/1.34, allocations: 163 kB / 1.268 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.943e-05/1.34, allocations: 302.8 kB / 1.268 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.342, allocations: 0.9096 MB / 1.269 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/1.344, allocations: 1.133 MB / 1.27 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/1.348, allocations: 2.241 MB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/1.348, allocations: 1.562 kB / 1.272 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005045/1.353, allocations: 2.451 MB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/1.353, allocations: 8.094 kB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.353, allocations: 6.031 kB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-05/1.353, allocations: 11.84 kB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.355, allocations: 437 kB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/1.355, allocations: 19.27 kB / 1.275 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.356, allocations: 207.8 kB / 1.276 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.356, allocations: 77.77 kB / 1.276 GB, free: 183.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (261): * Single equations (assignments): 261 * 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.0008755/1.357, allocations: 458 kB / 1.276 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/1.358, allocations: 143.6 kB / 1.276 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00508/1.363, allocations: 2.73 MB / 1.279 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.363, allocations: 23.64 kB / 1.279 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/1.363, allocations: 3.656 kB / 1.279 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003705/1.366, allocations: 2.399 MB / 1.281 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/1.374, allocations: 4.298 MB / 1.285 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.374, allocations: 3.969 kB / 1.285 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.376, allocations: 406.8 kB / 1.286 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006312/1.376, allocations: 103.3 kB / 1.286 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.376, allocations: 52.67 kB / 1.286 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005949/1.377, allocations: 1.12 MB / 1.287 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.377, allocations: 1.859 kB / 1.287 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006666/1.384, allocations: 4.091 MB / 1.291 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/1.385, allocations: 493 kB / 1.291 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/1.385, allocations: 37.44 kB / 1.292 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.386, allocations: 106.3 kB / 1.292 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.386, allocations: 139 kB / 1.292 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/1.387, allocations: 71.47 kB / 1.292 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007447/1.387, allocations: 0.5395 MB / 1.292 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.387, allocations: 0 / 1.292 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001684/1.389, allocations: 0.6463 MB / 1.293 GB, free: 175.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.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 (237): * Single equations (assignments): 235 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007294/1.39, allocations: 380.8 kB / 1.293 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003203/1.393, allocations: 2.332 MB / 1.296 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.393, allocations: 0 / 1.296 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/1.395, allocations: 1.284 MB / 1.297 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.397, allocations: 0.5511 MB / 1.297 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005294/1.403, allocations: 4.688 MB / 1.302 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/1.403, allocations: 1.335 MB / 1.303 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/1.404, allocations: 183.4 kB / 1.303 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/1.404, allocations: 0 / 1.303 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03812/1.442, allocations: 31.07 MB / 1.334 GB, free: 136.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dooOpe.vAB,dooOpe.vBA,dooOpeClo.vAB,dooOpeClo.vBA,dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow Variables in the result:dooOpe.port_a1.m_flow,dooOpe.port_a2.m_flow,dooOpe.vAB,dooOpe.vBA,dooOpeClo.port_a1.m_flow,dooOpeClo.port_a2.m_flow,dooOpeClo.vAB,dooOpeClo.vBA,time