Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001684/0.001684, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001609/0.001609, allocations: 193 kB / 16.91 MB, free: 6.195 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.486/1.486, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.1 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4075, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 0.9305/1.338, allocations: 164.7 MB / 1.178 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01561/1.354, allocations: 8.447 MB / 1.187 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/1.356, allocations: 33.06 kB / 1.187 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001985/1.358, allocations: 498.9 kB / 1.187 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005637/1.364, allocations: 1.444 MB / 1.188 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002985/1.367, allocations: 0.9044 MB / 1.189 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005877/1.373, allocations: 4.127 MB / 1.193 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/1.375, allocations: 1.31 MB / 1.195 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/1.38, allocations: 1.5 MB / 1.196 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/1.382, allocations: 1.583 MB / 1.198 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002934/1.383, allocations: 185.9 kB / 1.198 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/1.386, allocations: 1.109 MB / 1.199 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007465/1.386, allocations: 0.6669 MB / 1.2 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/1.388, allocations: 1.038 MB / 1.201 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/1.391, allocations: 2.086 MB / 1.203 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.391, allocations: 0 / 1.203 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.904e-06/1.391, allocations: 0 / 1.203 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.62e-05/1.391, allocations: 0 / 1.203 GB, free: 9.484 MB / 0.9044 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.004722/1.396, allocations: 2.262 MB / 1.205 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.396, allocations: 10.48 kB / 1.205 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/1.396, allocations: 196.8 kB / 1.205 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/1.398, allocations: 1.169 MB / 1.206 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.599e-05/1.398, allocations: 119.3 kB / 1.206 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000233/1.399, allocations: 154.1 kB / 1.206 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/1.402, allocations: 1.915 MB / 1.208 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.109e-05/1.402, allocations: 6.188 kB / 1.208 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/1.402, allocations: 60.88 kB / 1.208 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/1.402, allocations: 43.19 kB / 1.208 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/1.406, allocations: 2.472 MB / 1.211 GB, free: 3.68 MB / 0.9044 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.01133/1.418, allocations: 6.093 MB / 1.217 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004502/1.422, allocations: 2.802 MB / 1.22 GB, free: 10.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/1.425, allocations: 1.425 MB / 1.221 GB, free: 8.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002226/1.427, allocations: 1.734 MB / 1.223 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.33e-05/1.427, allocations: 60.55 kB / 1.223 GB, free: 6.809 MB / 0.92 GB Notification: Performance of pre-optimization done (n=237): time 3.546e-06/1.427, allocations: 0 / 1.223 GB, free: 6.809 MB / 0.92 GB Notification: Performance of matching and sorting (n=237): time 0.006765/1.434, allocations: 3.43 MB / 1.226 GB, free: 3.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/1.434, allocations: 77.41 kB / 1.226 GB, free: 3.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/1.435, allocations: 0.7704 MB / 1.227 GB, free: 2.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/1.436, allocations: 65.7 kB / 1.227 GB, free: 2.395 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/1.436, allocations: 486.1 kB / 1.227 GB, free: 1.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001003/1.437, allocations: 0.7853 MB / 1.228 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006286/1.438, allocations: 351.6 kB / 1.228 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.438, allocations: 301.1 kB / 1.229 GB, free: 476 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/1.44, allocations: 0.898 MB / 1.23 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/1.442, allocations: 1.129 MB / 1.231 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003982/1.446, allocations: 2.223 MB / 1.233 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/1.446, allocations: 3.938 kB / 1.233 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005146/1.451, allocations: 2.444 MB / 1.235 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.451, allocations: 8 kB / 1.235 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.451, allocations: 0 / 1.235 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.326e-05/1.451, allocations: 19.94 kB / 1.235 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.453, allocations: 431.4 kB / 1.236 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.36e-05/1.453, allocations: 15.94 kB / 1.236 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/1.455, allocations: 206.4 kB / 1.236 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.455, allocations: 71.98 kB / 1.236 GB, free: 8.91 MB / 0.9356 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.001003/1.456, allocations: 441.2 kB / 1.236 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/1.456, allocations: 142.3 kB / 1.237 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005107/1.461, allocations: 2.735 MB / 1.239 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/1.461, allocations: 20 kB / 1.239 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.462, allocations: 0 / 1.239 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003977/1.465, allocations: 2.385 MB / 1.242 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007541/1.473, allocations: 4.279 MB / 1.246 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/1.473, allocations: 7.938 kB / 1.246 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.475, allocations: 403.6 kB / 1.246 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006325/1.475, allocations: 105.6 kB / 1.246 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/1.476, allocations: 51.98 kB / 1.246 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009727/1.477, allocations: 1.116 MB / 1.247 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.477, allocations: 0 / 1.247 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00701/1.484, allocations: 4.061 MB / 1.251 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.485, allocations: 478.6 kB / 1.252 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002509/1.485, allocations: 43.98 kB / 1.252 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.486, allocations: 99.84 kB / 1.252 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003235/1.487, allocations: 145.7 kB / 1.252 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/1.487, allocations: 68.08 kB / 1.252 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008761/1.488, allocations: 0.542 MB / 1.253 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.488, allocations: 0 / 1.253 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001873/1.49, allocations: 0.6358 MB / 1.253 GB, free: 6.93 MB / 0.9512 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.0009039/1.491, allocations: 387.1 kB / 1.254 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.501, allocations: 4.86 MB / 1.258 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.501, allocations: 0 / 1.258 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/1.503, allocations: 1.28 MB / 1.26 GB, free: 420 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/1.506, allocations: 0.587 MB / 1.26 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007045/1.513, allocations: 4.527 MB / 1.265 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.514, allocations: 1.331 MB / 1.266 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008625/1.515, allocations: 191.3 kB / 1.266 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of SimCode: time 1.583e-06/1.515, allocations: 0 / 1.266 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of Templates: time 0.05491/1.57, allocations: 31.28 MB / 1.297 GB, free: 10.5 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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