Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006786/0.006786, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001321/0.001321, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3804, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.8868/1.267, allocations: 218.5 MB / 1.421 GB, free: 8.453 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02696/1.294, allocations: 20.43 MB / 1.441 GB, free: 7.781 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/1.297, allocations: 59.69 kB / 1.441 GB, free: 7.723 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/1.301, allocations: 1.243 MB / 1.442 GB, free: 6.473 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01145/1.312, allocations: 4.083 MB / 1.446 GB, free: 2.371 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004083/1.316, allocations: 1.554 MB / 1.448 GB, free: 0.8242 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.008426/1.325, allocations: 6.961 MB / 1.455 GB, free: 9.844 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/1.328, allocations: 2.356 MB / 1.457 GB, free: 7.449 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/1.332, allocations: 2.395 MB / 1.459 GB, free: 5.047 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004611/1.337, allocations: 2.457 MB / 1.462 GB, free: 2.598 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005953/1.338, allocations: 344 kB / 1.462 GB, free: 2.262 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007082/1.345, allocations: 3.461 MB / 1.465 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/1.346, allocations: 1.453 MB / 1.467 GB, free: 13.34 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002543/1.349, allocations: 1.863 MB / 1.469 GB, free: 11.46 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.008812/1.358, allocations: 5.771 MB / 1.474 GB, free: 5.68 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.358, allocations: 0 / 1.474 GB, free: 5.68 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.613e-06/1.358, allocations: 0 / 1.474 GB, free: 5.68 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.496e-05/1.358, allocations: 0 / 1.474 GB, free: 5.68 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.009733/1.368, allocations: 3.937 MB / 1.478 GB, free: 1.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/1.368, allocations: 20.56 kB / 1.478 GB, free: 1.66 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/1.373, allocations: 0.8242 MB / 1.479 GB, free: 0.832 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/1.376, allocations: 1.933 MB / 1.481 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/1.377, allocations: 201.4 kB / 1.481 GB, free: 14.64 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004412/1.377, allocations: 267.9 kB / 1.481 GB, free: 14.38 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/1.383, allocations: 3.283 MB / 1.484 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.598e-05/1.383, allocations: 7.984 kB / 1.484 GB, free: 11.05 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/1.383, allocations: 112 kB / 1.485 GB, free: 10.94 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/1.383, allocations: 121.4 kB / 1.485 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007399/1.391, allocations: 4.627 MB / 1.489 GB, free: 6.18 MB / 1.17 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.01626/1.407, allocations: 10.92 MB / 1.5 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006366/1.413, allocations: 4.868 MB / 1.505 GB, free: 5.684 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/1.417, allocations: 2.527 MB / 1.507 GB, free: 3.148 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.418, allocations: 0.8719 MB / 1.508 GB, free: 2.109 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/1.418, allocations: 77.7 kB / 1.508 GB, free: 2.023 MB / 1.186 GB Notification: Performance of pre-optimization done (n=399): time 5.159e-06/1.418, allocations: 0 / 1.508 GB, free: 2.023 MB / 1.186 GB Notification: Performance of matching and sorting (n=399): time 0.009985/1.428, allocations: 6.023 MB / 1.514 GB, free: 11.91 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.428, allocations: 90.55 kB / 1.514 GB, free: 11.81 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/1.43, allocations: 1.232 MB / 1.515 GB, free: 10.57 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003125/1.431, allocations: 93.7 kB / 1.515 GB, free: 10.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/1.431, allocations: 0.8095 MB / 1.516 GB, free: 9.656 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.432, allocations: 1.336 MB / 1.517 GB, free: 8.301 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008879/1.433, allocations: 0.543 MB / 1.518 GB, free: 7.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.433, allocations: 305.1 kB / 1.518 GB, free: 7.449 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002811/1.436, allocations: 1.599 MB / 1.52 GB, free: 5.848 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002979/1.439, allocations: 1.909 MB / 1.522 GB, free: 3.895 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/1.445, allocations: 3.838 MB / 1.525 GB, free: 16 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.445, allocations: 0 / 1.525 GB, free: 16 MB / 1.217 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007513/1.453, allocations: 4.191 MB / 1.529 GB, free: 11.78 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/1.453, allocations: 11.94 kB / 1.529 GB, free: 11.77 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/1.453, allocations: 4 kB / 1.529 GB, free: 11.77 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.798e-05/1.453, allocations: 16 kB / 1.53 GB, free: 11.75 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.456, allocations: 0.6788 MB / 1.53 GB, free: 11.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-05/1.456, allocations: 27.86 kB / 1.53 GB, free: 11.04 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.459, allocations: 246.3 kB / 1.53 GB, free: 10.8 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/1.459, allocations: 112 kB / 1.531 GB, free: 10.69 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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.001737/1.461, allocations: 0.7235 MB / 1.531 GB, free: 9.957 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/1.461, allocations: 245 kB / 1.531 GB, free: 9.715 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008511/1.47, allocations: 4.63 MB / 1.536 GB, free: 5.043 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.47, allocations: 43.98 kB / 1.536 GB, free: 5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.47, allocations: 0 / 1.536 GB, free: 5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006118/1.476, allocations: 3.961 MB / 1.54 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01289/1.489, allocations: 8.262 MB / 1.548 GB, free: 8.629 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.489, allocations: 0 / 1.548 GB, free: 8.629 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/1.492, allocations: 0.6593 MB / 1.549 GB, free: 7.969 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/1.493, allocations: 146.4 kB / 1.549 GB, free: 7.816 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002326/1.493, allocations: 87.97 kB / 1.549 GB, free: 7.73 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/1.497, allocations: 5.042 MB / 1.554 GB, free: 2.27 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.497, allocations: 0 / 1.554 GB, free: 2.27 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.508, allocations: 6.82 MB / 1.56 GB, free: 11.39 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.509, allocations: 0.7628 MB / 1.561 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004303/1.51, allocations: 64 kB / 1.561 GB, free: 10.54 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/1.512, allocations: 98.83 kB / 1.561 GB, free: 10.45 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004427/1.512, allocations: 230.8 kB / 1.562 GB, free: 10.22 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.512, allocations: 112 kB / 1.562 GB, free: 10.11 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001227/1.514, allocations: 0.8606 MB / 1.562 GB, free: 9.25 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.5e-07/1.514, allocations: 0 / 1.562 GB, free: 9.25 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002553/1.516, allocations: 1.069 MB / 1.564 GB, free: 8.18 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000724/1.517, allocations: 344.6 kB / 1.564 GB, free: 7.832 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006416/1.523, allocations: 4.059 MB / 1.568 GB, free: 3.762 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.523, allocations: 0 / 1.568 GB, free: 3.762 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003823/1.527, allocations: 2.552 MB / 1.57 GB, free: 1.172 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/1.533, allocations: 1.067 MB / 1.571 GB, free: 124 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/1.543, allocations: 6.595 MB / 1.578 GB, free: 9.477 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/1.544, allocations: 1.942 MB / 1.58 GB, free: 7.492 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.003536/1.548, allocations: 1.223 MB / 1.581 GB, free: 6.262 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/1.549, allocations: 239.3 kB / 1.581 GB, free: 6.027 MB / 1.264 GB Notification: Performance of SimCode: time 9.02e-07/1.549, allocations: 0 / 1.581 GB, free: 6.027 MB / 1.264 GB Notification: Performance of Templates: time 0.07534/1.624, allocations: 48.32 MB / 1.628 GB, free: 6.207 MB / 1.311 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches