Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.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_latest_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_latest_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.001533/0.001533, allocations: 110.4 kB / 16.27 MB, free: 6.352 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.001387/0.001387, allocations: 188 kB / 17.2 MB, free: 5.953 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.623/1.623, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.989/2.989, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 66.72 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.161, allocations: 162.2 MB / 1.083 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.309/1.47, allocations: 198.7 MB / 1.277 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01484/1.485, allocations: 9.455 MB / 1.286 GB, free: 14.15 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/1.486, allocations: 15.94 kB / 1.286 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/1.489, allocations: 0.6097 MB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/1.495, allocations: 2.003 MB / 1.289 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002601/1.498, allocations: 0.7462 MB / 1.289 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003729/1.501, allocations: 2.089 MB / 1.291 GB, free: 8.676 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/1.503, allocations: 0.7674 MB / 1.292 GB, free: 7.898 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/1.507, allocations: 1.499 MB / 1.294 GB, free: 6.395 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.508, allocations: 0.7198 MB / 1.294 GB, free: 5.672 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/1.509, allocations: 75.94 kB / 1.294 GB, free: 5.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005006/1.514, allocations: 1.929 MB / 1.296 GB, free: 3.664 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005336/1.514, allocations: 351 kB / 1.297 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007277/1.515, allocations: 0.4977 MB / 1.297 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003878/1.519, allocations: 1.823 MB / 1.299 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/1.519, allocations: 7.984 kB / 1.299 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.164e-06/1.519, allocations: 4 kB / 1.299 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.432e-05/1.519, allocations: 0 / 1.299 GB, free: 0.9805 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.00398/1.523, allocations: 1.43 MB / 1.3 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/1.523, allocations: 16.03 kB / 1.3 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/1.524, allocations: 146.8 kB / 1.301 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.525, allocations: 0.5643 MB / 1.301 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/1.525, allocations: 50 kB / 1.301 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.525, allocations: 68 kB / 1.301 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/1.526, allocations: 0.8665 MB / 1.302 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.526, allocations: 0 / 1.302 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/1.527, allocations: 28 kB / 1.302 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.751e-05/1.527, allocations: 45.98 kB / 1.302 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/1.528, allocations: 0.7729 MB / 1.303 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006295/1.534, allocations: 4.545 MB / 1.307 GB, free: 7.793 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/1.535, allocations: 419.9 kB / 1.308 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/1.536, allocations: 189.4 kB / 1.308 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/1.537, allocations: 0.76 MB / 1.309 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/1.537, allocations: 34.89 kB / 1.309 GB, free: 6.219 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 2.875e-06/1.537, allocations: 4 kB / 1.309 GB, free: 6.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.001512/1.538, allocations: 0.5947 MB / 1.309 GB, free: 5.613 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/1.538, allocations: 67.28 kB / 1.309 GB, free: 5.535 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/1.539, allocations: 0.868 MB / 1.31 GB, free: 4.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/1.539, allocations: 29.7 kB / 1.31 GB, free: 4.625 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/1.54, allocations: 395.6 kB / 1.311 GB, free: 4.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/1.54, allocations: 134 kB / 1.311 GB, free: 4.102 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/1.54, allocations: 102.1 kB / 1.311 GB, free: 3.996 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.54, allocations: 326 kB / 1.311 GB, free: 3.672 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/1.541, allocations: 189 kB / 1.311 GB, free: 3.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/1.541, allocations: 273.6 kB / 1.312 GB, free: 3.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008058/1.542, allocations: 450.6 kB / 1.312 GB, free: 2.727 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.542, allocations: 0 / 1.312 GB, free: 2.727 MB / 1.029 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001127/1.543, allocations: 0.5855 MB / 1.313 GB, free: 2.133 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.543, allocations: 10.66 kB / 1.313 GB, free: 2.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/1.543, allocations: 3.984 kB / 1.313 GB, free: 2.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/1.543, allocations: 7.938 kB / 1.313 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/1.544, allocations: 111.8 kB / 1.313 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.544, allocations: 11.98 kB / 1.313 GB, free: 1.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/1.545, allocations: 75.42 kB / 1.313 GB, free: 1.918 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/1.545, allocations: 20 kB / 1.313 GB, free: 1.898 MB / 1.029 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.0003927/1.545, allocations: 247.4 kB / 1.313 GB, free: 1.648 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/1.545, allocations: 82.97 kB / 1.313 GB, free: 1.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/1.546, allocations: 0.5515 MB / 1.314 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.546, allocations: 7.938 kB / 1.314 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/1.546, allocations: 0 / 1.314 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/1.546, allocations: 0 / 1.314 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/1.55, allocations: 2.12 MB / 1.316 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.55, allocations: 4 kB / 1.316 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/1.551, allocations: 95.83 kB / 1.316 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/1.551, allocations: 8 kB / 1.316 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/1.551, allocations: 16 kB / 1.316 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/1.551, allocations: 16.45 kB / 1.316 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.248e-05/1.551, allocations: 11.94 kB / 1.316 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/1.552, allocations: 0.9871 MB / 1.317 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/1.553, allocations: 212 kB / 1.317 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/1.553, allocations: 16 kB / 1.317 GB, free: 13.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/1.553, allocations: 15.98 kB / 1.317 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/1.553, allocations: 55.83 kB / 1.317 GB, free: 13.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/1.553, allocations: 27.94 kB / 1.317 GB, free: 13.12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008822/1.554, allocations: 0.6239 MB / 1.318 GB, free: 12.51 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.41e-07/1.554, allocations: 0 / 1.318 GB, free: 12.51 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0009067/1.555, allocations: 247.5 kB / 1.318 GB, free: 12.27 MB / 1.045 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.0006649/1.556, allocations: 239.4 kB / 1.318 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009467/1.557, allocations: 462.3 kB / 1.319 GB, free: 11.58 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.557, allocations: 4 kB / 1.319 GB, free: 11.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/1.557, allocations: 240.9 kB / 1.319 GB, free: 11.34 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.56, allocations: 494.2 kB / 1.319 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/1.563, allocations: 1.623 MB / 1.321 GB, free: 9.121 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/1.563, allocations: 1.008 MB / 1.322 GB, free: 8.086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/1.564, allocations: 67.42 kB / 1.322 GB, free: 8.02 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/1.564, allocations: 0 / 1.322 GB, free: 8.02 MB / 1.045 GB Notification: Performance of Templates: time 0.02835/1.592, allocations: 14.15 MB / 1.336 GB, free: 9.969 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches