Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.001734/0.001734, allocations: 110.5 kB / 16.41 MB, free: 5.977 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.001705/0.001705, allocations: 188.3 kB / 17.34 MB, free: 5.586 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202/1.203, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2533/1.456, allocations: 166.9 MB / 1.252 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01462/1.471, allocations: 8.493 MB / 1.26 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/1.474, allocations: 35.81 kB / 1.26 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/1.476, allocations: 0.5706 MB / 1.26 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004979/1.481, allocations: 1.535 MB / 1.262 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/1.484, allocations: 1.004 MB / 1.263 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005456/1.489, allocations: 4.093 MB / 1.267 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/1.491, allocations: 1.315 MB / 1.268 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/1.495, allocations: 1.528 MB / 1.27 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/1.497, allocations: 1.507 MB / 1.271 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/1.497, allocations: 188 kB / 1.271 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/1.5, allocations: 1.1 MB / 1.272 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006455/1.501, allocations: 0.6623 MB / 1.273 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/1.502, allocations: 1.038 MB / 1.274 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003408/1.505, allocations: 2.756 MB / 1.277 GB, free: 12.94 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.505, allocations: 4 kB / 1.277 GB, free: 12.94 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.344e-06/1.505, allocations: 0 / 1.277 GB, free: 12.94 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.936e-05/1.505, allocations: 0 / 1.277 GB, free: 12.94 MB / 1.014 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.004432/1.51, allocations: 2.27 MB / 1.279 GB, free: 10.61 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.51, allocations: 11.97 kB / 1.279 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/1.51, allocations: 194.8 kB / 1.279 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/1.512, allocations: 1.177 MB / 1.28 GB, free: 9.188 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/1.513, allocations: 111 kB / 1.28 GB, free: 9.078 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/1.513, allocations: 152 kB / 1.281 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/1.516, allocations: 1.923 MB / 1.283 GB, free: 6.965 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/1.516, allocations: 0 / 1.283 GB, free: 6.965 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/1.516, allocations: 64 kB / 1.283 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/1.516, allocations: 36 kB / 1.283 GB, free: 6.867 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003769/1.52, allocations: 2.478 MB / 1.285 GB, free: 4.383 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.008313/1.528, allocations: 6.12 MB / 1.291 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/1.532, allocations: 2.799 MB / 1.294 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/1.534, allocations: 1.421 MB / 1.295 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/1.536, allocations: 1.734 MB / 1.297 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/1.536, allocations: 56.56 kB / 1.297 GB, free: 7.492 MB / 1.029 GB Notification: Performance of pre-optimization done (n=237): time 4.228e-06/1.536, allocations: 4 kB / 1.297 GB, free: 7.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=237): time 0.005813/1.542, allocations: 3.438 MB / 1.3 GB, free: 4.004 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.542, allocations: 73.41 kB / 1.3 GB, free: 3.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.543, allocations: 0.7744 MB / 1.301 GB, free: 3.137 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/1.543, allocations: 69.7 kB / 1.301 GB, free: 3.062 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/1.543, allocations: 498.1 kB / 1.302 GB, free: 2.566 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008302/1.544, allocations: 0.7814 MB / 1.302 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005249/1.545, allocations: 351.5 kB / 1.303 GB, free: 1.422 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.545, allocations: 301.1 kB / 1.303 GB, free: 1.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/1.546, allocations: 0.9019 MB / 1.304 GB, free: 224 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/1.548, allocations: 1.125 MB / 1.305 GB, free: 15.03 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003615/1.552, allocations: 2.231 MB / 1.307 GB, free: 12.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/1.552, allocations: 0 / 1.307 GB, free: 12.75 MB / 1.045 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004305/1.556, allocations: 2.433 MB / 1.31 GB, free: 10.31 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/1.556, allocations: 11.94 kB / 1.31 GB, free: 10.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/1.556, allocations: 11.88 kB / 1.31 GB, free: 10.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.365e-05/1.556, allocations: 12 kB / 1.31 GB, free: 10.28 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.558, allocations: 431.4 kB / 1.31 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/1.558, allocations: 19.98 kB / 1.31 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.559, allocations: 154.3 kB / 1.31 GB, free: 9.684 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.56, allocations: 80.02 kB / 1.31 GB, free: 9.605 MB / 1.045 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.0009306/1.561, allocations: 438.1 kB / 1.311 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.561, allocations: 142.2 kB / 1.311 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004843/1.566, allocations: 2.733 MB / 1.313 GB, free: 6.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/1.566, allocations: 24 kB / 1.313 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.566, allocations: 0 / 1.313 GB, free: 6.246 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00389/1.57, allocations: 2.381 MB / 1.316 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00729/1.577, allocations: 4.29 MB / 1.32 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.577, allocations: 0 / 1.32 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.579, allocations: 415.5 kB / 1.32 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007085/1.58, allocations: 101.6 kB / 1.32 GB, free: 14.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/1.58, allocations: 47.98 kB / 1.321 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009942/1.581, allocations: 1.12 MB / 1.322 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.581, allocations: 0 / 1.322 GB, free: 13.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/1.587, allocations: 4.057 MB / 1.326 GB, free: 9.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.589, allocations: 486.5 kB / 1.326 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.589, allocations: 40 kB / 1.326 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008704/1.59, allocations: 51.98 kB / 1.326 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.59, allocations: 141.8 kB / 1.326 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.59, allocations: 71.98 kB / 1.326 GB, free: 8.844 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007675/1.591, allocations: 0.5459 MB / 1.327 GB, free: 8.301 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.591, allocations: 0 / 1.327 GB, free: 8.301 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001607/1.593, allocations: 0.6514 MB / 1.327 GB, free: 7.648 MB / 1.061 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.0007727/1.593, allocations: 408 kB / 1.328 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003538/1.597, allocations: 2.321 MB / 1.33 GB, free: 4.926 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.597, allocations: 0.9375 kB / 1.33 GB, free: 4.926 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001894/1.599, allocations: 1.284 MB / 1.331 GB, free: 3.648 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/1.601, allocations: 0.573 MB / 1.332 GB, free: 3.078 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/1.607, allocations: 3.82 MB / 1.336 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/1.608, allocations: 1.343 MB / 1.337 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000699/1.608, allocations: 179.4 kB / 1.337 GB, free: 13.66 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/1.609, allocations: 0 / 1.337 GB, free: 13.66 MB / 1.076 GB Notification: Performance of Templates: time 0.04723/1.656, allocations: 31.68 MB / 1.368 GB, free: 14.05 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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