Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007764/0.007764, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.378/1.378, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.588/2.588, allocations: 437.7 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 11.98 kB / 0.8728 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7089/0.7093, allocations: 153.8 MB / 1.023 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2071/0.9165, allocations: 193.8 MB / 1.212 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01177/0.9283, allocations: 9.388 MB / 1.221 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008364/0.9292, allocations: 15.88 kB / 1.221 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.9306, allocations: 0.5248 MB / 1.222 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.9353, allocations: 1.895 MB / 1.224 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.9372, allocations: 0.6698 MB / 1.224 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.941, allocations: 3.181 MB / 1.228 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.9421, allocations: 0.6254 MB / 1.228 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.9447, allocations: 1.241 MB / 1.229 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.9458, allocations: 0.7626 MB / 1.23 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.9459, allocations: 44 kB / 1.23 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.9499, allocations: 2.221 MB / 1.232 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004306/0.9504, allocations: 327 kB / 1.233 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006306/0.951, allocations: 0.4915 MB / 1.233 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.954, allocations: 1.904 MB / 1.235 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.954, allocations: 0 / 1.235 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.37e-06/0.954, allocations: 3.984 kB / 1.235 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.954, allocations: 3.938 kB / 1.235 GB, free: 6.098 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003277/0.9573, allocations: 1.274 MB / 1.236 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.9574, allocations: 11.98 kB / 1.236 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006412/0.958, allocations: 150.7 kB / 1.236 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.9589, allocations: 0.5604 MB / 1.237 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.9589, allocations: 50 kB / 1.237 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.959, allocations: 71.98 kB / 1.237 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.9603, allocations: 0.8704 MB / 1.238 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.9604, allocations: 0 / 1.238 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.9605, allocations: 28 kB / 1.238 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-05/0.9605, allocations: 45.98 kB / 1.238 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.9618, allocations: 0.7768 MB / 1.239 GB, free: 2.148 MB / 0.9825 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.5727/1.534, allocations: 4.521 MB / 1.243 GB, free: 215.6 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009893/1.535, allocations: 431.1 kB / 1.244 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/1.536, allocations: 193.7 kB / 1.244 GB, free: 215.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/1.536, allocations: 0.7622 MB / 1.245 GB, free: 214.7 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/1.537, allocations: 37.56 kB / 1.245 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=40): time 4.449e-06/1.537, allocations: 0 / 1.245 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40): time 0.001562/1.538, allocations: 0.624 MB / 1.245 GB, free: 214.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.538, allocations: 56.72 kB / 1.245 GB, free: 214.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/1.54, allocations: 0.8738 MB / 1.246 GB, free: 214.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/1.54, allocations: 31.8 kB / 1.246 GB, free: 214.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/1.54, allocations: 384.7 kB / 1.246 GB, free: 213.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/1.54, allocations: 134.4 kB / 1.247 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/1.54, allocations: 49.2 kB / 1.247 GB, free: 213.7 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.864e-05/1.54, allocations: 324.1 kB / 1.247 GB, free: 213.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/1.541, allocations: 188.7 kB / 1.247 GB, free: 213.3 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/1.541, allocations: 283.9 kB / 1.247 GB, free: 213.2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/1.542, allocations: 457.8 kB / 1.248 GB, free: 213 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.542, allocations: 4.062 kB / 1.248 GB, free: 213 MB / 0.9825 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001168/1.543, allocations: 0.5927 MB / 1.248 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.543, allocations: 10.61 kB / 1.248 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.543, allocations: 2.25 kB / 1.248 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/1.543, allocations: 3.875 kB / 1.248 GB, free: 212.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/1.544, allocations: 105.5 kB / 1.249 GB, free: 212.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.544, allocations: 4.875 kB / 1.249 GB, free: 212.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008553/1.544, allocations: 107.5 kB / 1.249 GB, free: 212.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/1.545, allocations: 22.84 kB / 1.249 GB, free: 212.7 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 57 * 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.0003956/1.545, allocations: 243.3 kB / 1.249 GB, free: 212.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/1.545, allocations: 86.31 kB / 1.249 GB, free: 212.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.546, allocations: 0.5574 MB / 1.25 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/1.546, allocations: 3.969 kB / 1.25 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/1.546, allocations: 4.719 kB / 1.25 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.546, allocations: 2.344 kB / 1.25 GB, free: 212.2 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/1.55, allocations: 2.138 MB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.55, allocations: 6.75 kB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/1.55, allocations: 96.5 kB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/1.55, allocations: 11.34 kB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/1.55, allocations: 21.09 kB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/1.55, allocations: 14.72 kB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/1.55, allocations: 11.16 kB / 1.252 GB, free: 211 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.552, allocations: 0.9886 MB / 1.253 GB, free: 210.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/1.552, allocations: 227.6 kB / 1.253 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.552, allocations: 15.55 kB / 1.253 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/1.553, allocations: 46.52 kB / 1.253 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/1.553, allocations: 53.94 kB / 1.253 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/1.553, allocations: 23.36 kB / 1.253 GB, free: 210.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009407/1.554, allocations: 0.6261 MB / 1.254 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/1.554, allocations: 0 / 1.254 GB, free: 209.9 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009625/1.555, allocations: 240.3 kB / 1.254 GB, free: 209.9 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * 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 (48): * Single equations (assignments): 48 * 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 Backend phase and start with SimCode phase: time 0.0005655/1.556, allocations: 236.8 kB / 1.254 GB, free: 209.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001125/1.557, allocations: 447.6 kB / 1.255 GB, free: 209.7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.557, allocations: 4.5 kB / 1.255 GB, free: 209.7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005276/1.557, allocations: 239.8 kB / 1.255 GB, free: 209.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.56, allocations: 493.9 kB / 1.255 GB, free: 209.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/1.563, allocations: 1.882 MB / 1.257 GB, free: 208.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/1.564, allocations: 1.007 MB / 1.258 GB, free: 207.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008321/1.564, allocations: 187.4 kB / 1.258 GB, free: 207.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/1.565, allocations: 62 kB / 1.258 GB, free: 207.5 MB / 0.9825 GB Notification: Performance of SimCode: time 7.82e-07/1.565, allocations: 0 / 1.258 GB, free: 207.5 MB / 0.9825 GB Notification: Performance of Templates: time 0.03012/1.595, allocations: 16.31 MB / 1.274 GB, free: 200.9 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches