Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001725/0.001726, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001863/0.001863, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.506/1.506, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.00196, allocations: 67.58 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4112, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneOpenDoor): time 1.018/1.429, allocations: 164.7 MB / 1.225 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01504/1.445, allocations: 8.456 MB / 1.233 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/1.447, allocations: 33.62 kB / 1.233 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/1.449, allocations: 0.4947 MB / 1.234 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005143/1.454, allocations: 1.435 MB / 1.235 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/1.457, allocations: 0.9105 MB / 1.236 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006076/1.463, allocations: 4.12 MB / 1.24 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/1.466, allocations: 1.308 MB / 1.241 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00432/1.47, allocations: 1.494 MB / 1.243 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002723/1.473, allocations: 1.581 MB / 1.244 GB, free: 0.668 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002845/1.473, allocations: 184 kB / 1.245 GB, free: 500 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/1.476, allocations: 1.107 MB / 1.246 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000733/1.477, allocations: 0.6778 MB / 1.246 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/1.478, allocations: 1.035 MB / 1.247 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/1.481, allocations: 2.081 MB / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.481, allocations: 0 / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.234e-06/1.481, allocations: 0 / 1.249 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.521e-05/1.481, allocations: 0 / 1.249 GB, free: 11.57 MB / 0.9669 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.005208/1.486, allocations: 2.259 MB / 1.251 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/1.487, allocations: 8.031 kB / 1.252 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005774/1.487, allocations: 202.6 kB / 1.252 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/1.489, allocations: 1.177 MB / 1.253 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/1.49, allocations: 115 kB / 1.253 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/1.49, allocations: 152 kB / 1.253 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/1.493, allocations: 1.923 MB / 1.255 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/1.493, allocations: 0 / 1.255 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/1.494, allocations: 64 kB / 1.255 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.966e-05/1.494, allocations: 36 kB / 1.255 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/1.498, allocations: 2.471 MB / 1.257 GB, free: 3.035 MB / 0.9669 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.009713/1.508, allocations: 6.097 MB / 1.263 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/1.512, allocations: 2.807 MB / 1.266 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/1.514, allocations: 1.417 MB / 1.268 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/1.516, allocations: 1.734 MB / 1.269 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/1.516, allocations: 64.55 kB / 1.269 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=237): time 5.671e-06/1.516, allocations: 0 / 1.269 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=237): time 0.006406/1.523, allocations: 3.434 MB / 1.273 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.523, allocations: 77.41 kB / 1.273 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.524, allocations: 0.7627 MB / 1.273 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001469/1.524, allocations: 65.7 kB / 1.274 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/1.525, allocations: 486.1 kB / 1.274 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008178/1.526, allocations: 0.7853 MB / 1.275 GB, free: 480 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000556/1.526, allocations: 351.5 kB / 1.275 GB, free: 120 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/1.526, allocations: 305.1 kB / 1.275 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/1.528, allocations: 0.9019 MB / 1.276 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.53, allocations: 1.126 MB / 1.277 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/1.533, allocations: 2.223 MB / 1.28 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.533, allocations: 0 / 1.28 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004264/1.537, allocations: 2.432 MB / 1.282 GB, free: 9.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/1.537, allocations: 4 kB / 1.282 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/1.537, allocations: 7.938 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-05/1.537, allocations: 15.94 kB / 1.282 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/1.539, allocations: 435.8 kB / 1.282 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.777e-05/1.539, allocations: 19.98 kB / 1.282 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.541, allocations: 198.3 kB / 1.283 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.541, allocations: 75.98 kB / 1.283 GB, free: 8.273 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.0008348/1.542, allocations: 449.1 kB / 1.283 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/1.542, allocations: 142.3 kB / 1.283 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/1.547, allocations: 2.728 MB / 1.286 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.547, allocations: 24 kB / 1.286 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.547, allocations: 0 / 1.286 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003676/1.551, allocations: 2.385 MB / 1.288 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/1.558, allocations: 4.279 MB / 1.292 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.558, allocations: 3.938 kB / 1.292 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.559, allocations: 407.4 kB / 1.293 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006147/1.56, allocations: 105.7 kB / 1.293 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.56, allocations: 55.92 kB / 1.293 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009278/1.561, allocations: 1.125 MB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.561, allocations: 0 / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006645/1.568, allocations: 4.061 MB / 1.298 GB, free: 8.293 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.569, allocations: 482.5 kB / 1.298 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002242/1.569, allocations: 36 kB / 1.299 GB, free: 7.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.57, allocations: 111.8 kB / 1.299 GB, free: 7.656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/1.57, allocations: 137.8 kB / 1.299 GB, free: 7.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.571, allocations: 69.48 kB / 1.299 GB, free: 7.453 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008597/1.571, allocations: 0.5381 MB / 1.299 GB, free: 6.918 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.571, allocations: 0 / 1.299 GB, free: 6.918 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001851/1.573, allocations: 0.6436 MB / 1.3 GB, free: 6.273 MB / 1.014 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.000881/1.574, allocations: 370.7 kB / 1.3 GB, free: 5.902 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01037/1.585, allocations: 4.863 MB / 1.305 GB, free: 1.039 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.585, allocations: 0 / 1.305 GB, free: 1.039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/1.587, allocations: 1.285 MB / 1.306 GB, free: 15.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.59, allocations: 0.5824 MB / 1.307 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006871/1.596, allocations: 4.535 MB / 1.311 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.597, allocations: 1.335 MB / 1.313 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/1.598, allocations: 187.4 kB / 1.313 GB, free: 9.062 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/1.598, allocations: 0 / 1.313 GB, free: 9.062 MB / 1.029 GB Notification: Performance of Templates: time 0.05449/1.653, allocations: 31.29 MB / 1.343 GB, free: 9.836 MB / 1.061 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneOpenDoor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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