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.007321/0.007321, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001565/0.001565, allocations: 190.6 kB / 16.79 MB, free: 5.809 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.454/1.454, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.738/2.738, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 65.25 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4014, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.1863/0.5878, allocations: 164.6 MB / 1.213 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.6009, allocations: 8.566 MB / 1.222 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.6028, allocations: 31.81 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.6044, allocations: 0.4935 MB / 1.222 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004017/0.6085, allocations: 1.447 MB / 1.224 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.6111, allocations: 0.8793 MB / 1.225 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005633/0.6167, allocations: 5.406 MB / 1.23 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.6183, allocations: 1.107 MB / 1.231 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.6207, allocations: 1.292 MB / 1.232 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.6227, allocations: 1.538 MB / 1.234 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.6229, allocations: 104 kB / 1.234 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.6254, allocations: 1.045 MB / 1.235 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.6261, allocations: 0.5959 MB / 1.235 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.6271, allocations: 0.9369 MB / 1.236 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.6293, allocations: 2.062 MB / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6293, allocations: 0 / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6293, allocations: 0 / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.6294, allocations: 0 / 1.238 GB, free: 9.539 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.004643/0.634, allocations: 2.264 MB / 1.241 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.6341, allocations: 11.97 kB / 1.241 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005159/0.6346, allocations: 198.6 kB / 1.241 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/0.6366, allocations: 1.177 MB / 1.242 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/0.6367, allocations: 115 kB / 1.242 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.6369, allocations: 148 kB / 1.242 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.64, allocations: 1.919 MB / 1.244 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.6401, allocations: 8 kB / 1.244 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001377/0.6402, allocations: 60 kB / 1.244 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.6403, allocations: 36 kB / 1.244 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.6441, allocations: 2.475 MB / 1.247 GB, free: 0.9883 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.7363/1.38, allocations: 6.073 MB / 1.253 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/1.384, allocations: 2.801 MB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/1.386, allocations: 1.418 MB / 1.257 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.387, allocations: 1.736 MB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/1.387, allocations: 58.95 kB / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=237): time 4.158e-06/1.387, allocations: 0 / 1.258 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=237): time 0.005514/1.393, allocations: 3.439 MB / 1.262 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/1.393, allocations: 77.31 kB / 1.262 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.394, allocations: 0.7582 MB / 1.263 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/1.394, allocations: 70.94 kB / 1.263 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/1.394, allocations: 486.3 kB / 1.263 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/1.395, allocations: 0.7899 MB / 1.264 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006057/1.396, allocations: 356 kB / 1.264 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.069e-05/1.396, allocations: 301.7 kB / 1.264 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/1.398, allocations: 0.8988 MB / 1.265 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/1.4, allocations: 1.128 MB / 1.266 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/1.404, allocations: 2.226 MB / 1.269 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.404, allocations: 5.906 kB / 1.269 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005301/1.409, allocations: 2.436 MB / 1.271 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.409, allocations: 7.922 kB / 1.271 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.409, allocations: 3.625 kB / 1.271 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.055e-05/1.409, allocations: 12.47 kB / 1.271 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.411, allocations: 432.5 kB / 1.271 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.355e-05/1.411, allocations: 20.22 kB / 1.271 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.412, allocations: 202.4 kB / 1.272 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/1.413, allocations: 74.89 kB / 1.272 GB, free: 186.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.0009136/1.413, allocations: 449.3 kB / 1.272 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/1.414, allocations: 143.1 kB / 1.272 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/1.419, allocations: 2.718 MB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/1.419, allocations: 22.84 kB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/1.419, allocations: 2.719 kB / 1.275 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003712/1.423, allocations: 2.388 MB / 1.277 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00738/1.43, allocations: 4.286 MB / 1.282 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.43, allocations: 1.406 kB / 1.282 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/1.432, allocations: 407 kB / 1.282 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005926/1.432, allocations: 99.33 kB / 1.282 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/1.433, allocations: 55.88 kB / 1.282 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/1.433, allocations: 1.117 MB / 1.283 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.433, allocations: 6.641 kB / 1.283 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006606/1.44, allocations: 4.056 MB / 1.287 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/1.441, allocations: 483.6 kB / 1.288 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.441, allocations: 41.41 kB / 1.288 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/1.442, allocations: 113.6 kB / 1.288 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/1.443, allocations: 143.3 kB / 1.288 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001502/1.443, allocations: 68.77 kB / 1.288 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008273/1.443, allocations: 0.5359 MB / 1.288 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.71e-07/1.444, allocations: 0 / 1.288 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001841/1.445, allocations: 0.6382 MB / 1.289 GB, free: 178.4 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.0008196/1.446, allocations: 377.2 kB / 1.289 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003277/1.449, allocations: 2.317 MB / 1.292 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.449, allocations: 3.938 kB / 1.292 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/1.451, allocations: 1.283 MB / 1.293 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.453, allocations: 0.5495 MB / 1.293 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005246/1.459, allocations: 4.53 MB / 1.298 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/1.459, allocations: 1.332 MB / 1.299 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/1.46, allocations: 183.4 kB / 1.299 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/1.46, allocations: 0 / 1.299 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03388/1.494, allocations: 31.28 MB / 1.33 GB, free: 140 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