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.001272/0.001272, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001151/0.001151, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 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.321/2.321, allocations: 390.2 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.073, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.2619/1.335, allocations: 166.9 MB / 1.252 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0149/1.35, allocations: 8.485 MB / 1.26 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002618/1.353, allocations: 39.81 kB / 1.26 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/1.355, allocations: 0.5706 MB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005768/1.361, allocations: 1.574 MB / 1.262 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003692/1.364, allocations: 0.9969 MB / 1.263 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006309/1.371, allocations: 4.114 MB / 1.267 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/1.373, allocations: 1.319 MB / 1.268 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/1.377, allocations: 1.527 MB / 1.27 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/1.38, allocations: 1.511 MB / 1.271 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007791/1.381, allocations: 184 kB / 1.271 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003418/1.384, allocations: 1.096 MB / 1.273 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001082/1.385, allocations: 0.6662 MB / 1.273 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002197/1.387, allocations: 1.027 MB / 1.274 GB, free: 15.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004204/1.392, allocations: 2.767 MB / 1.277 GB, free: 12.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/1.392, allocations: 4 kB / 1.277 GB, free: 12.78 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.134e-06/1.392, allocations: 0 / 1.277 GB, free: 12.78 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.192e-05/1.392, allocations: 0 / 1.277 GB, free: 12.78 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.004687/1.396, allocations: 2.262 MB / 1.279 GB, free: 10.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.396, allocations: 12.03 kB / 1.279 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000525/1.397, allocations: 194.8 kB / 1.279 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/1.399, allocations: 1.181 MB / 1.28 GB, free: 9.035 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/1.399, allocations: 115 kB / 1.281 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/1.399, allocations: 148 kB / 1.281 GB, free: 8.777 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/1.402, allocations: 1.915 MB / 1.283 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/1.403, allocations: 19.86 kB / 1.283 GB, free: 6.801 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/1.403, allocations: 64 kB / 1.283 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/1.403, allocations: 36 kB / 1.283 GB, free: 6.703 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003884/1.407, allocations: 2.471 MB / 1.285 GB, free: 4.227 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.008854/1.415, allocations: 6.116 MB / 1.291 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/1.419, allocations: 2.795 MB / 1.294 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/1.421, allocations: 1.425 MB / 1.295 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/1.423, allocations: 1.73 MB / 1.297 GB, free: 7.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.127e-05/1.423, allocations: 60.56 kB / 1.297 GB, free: 7.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=237): time 4.388e-06/1.423, allocations: 0 / 1.297 GB, free: 7.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=237): time 0.005713/1.429, allocations: 3.434 MB / 1.3 GB, free: 3.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.429, allocations: 77.41 kB / 1.3 GB, free: 3.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.43, allocations: 0.7744 MB / 1.301 GB, free: 2.988 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.43, allocations: 65.7 kB / 1.301 GB, free: 2.918 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/1.431, allocations: 498.1 kB / 1.302 GB, free: 2.422 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007449/1.431, allocations: 0.7814 MB / 1.302 GB, free: 1.629 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005106/1.432, allocations: 355.5 kB / 1.303 GB, free: 1.273 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.432, allocations: 301.1 kB / 1.303 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/1.433, allocations: 0.9019 MB / 1.304 GB, free: 72 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/1.435, allocations: 1.125 MB / 1.305 GB, free: 14.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/1.439, allocations: 2.227 MB / 1.307 GB, free: 12.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/1.439, allocations: 0 / 1.307 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004256/1.443, allocations: 2.436 MB / 1.31 GB, free: 10.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.443, allocations: 11.94 kB / 1.31 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/1.443, allocations: 11.92 kB / 1.31 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-05/1.443, allocations: 12.47 kB / 1.31 GB, free: 10.13 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.445, allocations: 435.4 kB / 1.31 GB, free: 9.707 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.533e-05/1.445, allocations: 15.94 kB / 1.31 GB, free: 9.691 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.446, allocations: 162.3 kB / 1.31 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.446, allocations: 68 kB / 1.31 GB, free: 9.465 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.000866/1.447, allocations: 437.2 kB / 1.311 GB, free: 9.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/1.447, allocations: 158.2 kB / 1.311 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00464/1.452, allocations: 2.721 MB / 1.313 GB, free: 6.125 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/1.452, allocations: 20 kB / 1.314 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.452, allocations: 4 kB / 1.314 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003448/1.455, allocations: 2.385 MB / 1.316 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006722/1.462, allocations: 4.294 MB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.462, allocations: 4 kB / 1.32 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/1.464, allocations: 399.5 kB / 1.32 GB, free: 14.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/1.464, allocations: 109.6 kB / 1.321 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.465, allocations: 51.98 kB / 1.321 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008724/1.465, allocations: 1.12 MB / 1.322 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.465, allocations: 0 / 1.322 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/1.472, allocations: 4.057 MB / 1.326 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/1.473, allocations: 482.5 kB / 1.326 GB, free: 8.988 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.473, allocations: 47.98 kB / 1.326 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/1.474, allocations: 47.98 kB / 1.326 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.474, allocations: 133.8 kB / 1.326 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.474, allocations: 75.97 kB / 1.326 GB, free: 8.688 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0008097/1.475, allocations: 0.5459 MB / 1.327 GB, free: 8.145 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.9e-07/1.475, allocations: 0 / 1.327 GB, free: 8.145 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001557/1.477, allocations: 0.6513 MB / 1.328 GB, free: 7.492 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.00082/1.477, allocations: 398.5 kB / 1.328 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.003687/1.481, allocations: 2.321 MB / 1.33 GB, free: 4.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.481, allocations: 4 kB / 1.33 GB, free: 4.773 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/1.483, allocations: 1.285 MB / 1.331 GB, free: 3.496 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.485, allocations: 0.5776 MB / 1.332 GB, free: 2.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/1.492, allocations: 3.816 MB / 1.336 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.493, allocations: 1.335 MB / 1.337 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008117/1.493, allocations: 187.4 kB / 1.337 GB, free: 13.52 MB / 1.076 GB Notification: Performance of SimCode: time 9.91e-07/1.493, allocations: 0 / 1.337 GB, free: 13.52 MB / 1.076 GB Notification: Performance of Templates: time 0.04782/1.541, allocations: 31.68 MB / 1.368 GB, free: 13.89 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