Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6646 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 0.8125 GB, free: 14.51 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8213/0.8228, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2636/1.086, allocations: 198.6 MB / 1.144 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01186/1.098, allocations: 9.458 MB / 1.153 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/1.1, allocations: 19.94 kB / 1.153 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001697/1.101, allocations: 0.6058 MB / 1.153 GB, free: 444 kB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/1.107, allocations: 2.022 MB / 1.155 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002138/1.109, allocations: 0.7258 MB / 1.156 GB, free: 13.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002809/1.112, allocations: 2.115 MB / 1.158 GB, free: 11.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/1.113, allocations: 0.7635 MB / 1.159 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/1.116, allocations: 1.354 MB / 1.16 GB, free: 9.426 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/1.117, allocations: 0.7354 MB / 1.161 GB, free: 8.688 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/1.117, allocations: 72 kB / 1.161 GB, free: 8.617 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/1.121, allocations: 1.933 MB / 1.163 GB, free: 6.68 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004597/1.121, allocations: 351 kB / 1.163 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006832/1.122, allocations: 0.5014 MB / 1.164 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/1.126, allocations: 1.835 MB / 1.166 GB, free: 3.992 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.126, allocations: 0 / 1.166 GB, free: 3.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/1.126, allocations: 0 / 1.166 GB, free: 3.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.126, allocations: 0 / 1.166 GB, free: 3.992 MB / 0.92 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.003496/1.129, allocations: 1.434 MB / 1.167 GB, free: 2.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.129, allocations: 8.031 kB / 1.167 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006687/1.13, allocations: 150.7 kB / 1.167 GB, free: 2.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008725/1.131, allocations: 0.5604 MB / 1.168 GB, free: 1.746 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/1.131, allocations: 50 kB / 1.168 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/1.131, allocations: 79.97 kB / 1.168 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/1.132, allocations: 0.8587 MB / 1.169 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/1.132, allocations: 0 / 1.169 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/1.132, allocations: 24 kB / 1.169 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.039e-05/1.132, allocations: 53.97 kB / 1.169 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/1.134, allocations: 0.769 MB / 1.169 GB, free: 15.89 MB / 0.9356 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.00544/1.139, allocations: 4.549 MB / 1.174 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/1.14, allocations: 421.2 kB / 1.174 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/1.14, allocations: 197.4 kB / 1.174 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/1.141, allocations: 0.7599 MB / 1.175 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.141, allocations: 42.88 kB / 1.175 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=40): time 2.354e-06/1.141, allocations: 4 kB / 1.175 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.001245/1.142, allocations: 0.5985 MB / 1.176 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/1.142, allocations: 59.34 kB / 1.176 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009965/1.143, allocations: 0.8603 MB / 1.177 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/1.143, allocations: 33.7 kB / 1.177 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/1.144, allocations: 387.6 kB / 1.177 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/1.144, allocations: 145.9 kB / 1.177 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/1.144, allocations: 98.16 kB / 1.177 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.144, allocations: 329.9 kB / 1.178 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/1.144, allocations: 181 kB / 1.178 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/1.145, allocations: 281.6 kB / 1.178 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/1.145, allocations: 446.6 kB / 1.179 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.146, allocations: 0 / 1.179 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009388/1.146, allocations: 0.578 MB / 1.179 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.146, allocations: 8.219 kB / 1.179 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.146, allocations: 4 kB / 1.179 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.147, allocations: 4 kB / 1.179 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/1.147, allocations: 111.8 kB / 1.179 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/1.147, allocations: 4 kB / 1.179 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005553/1.148, allocations: 75.11 kB / 1.179 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/1.148, allocations: 20 kB / 1.179 GB, free: 4.91 MB / 0.9356 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.0002961/1.148, allocations: 241.6 kB / 1.18 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/1.148, allocations: 83.06 kB / 1.18 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009599/1.149, allocations: 0.5554 MB / 1.18 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/1.149, allocations: 7.938 kB / 1.18 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.149, allocations: 0 / 1.18 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.149, allocations: 4 kB / 1.18 GB, free: 4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/1.152, allocations: 2.119 MB / 1.182 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.152, allocations: 8.062 kB / 1.182 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/1.153, allocations: 99.83 kB / 1.182 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/1.153, allocations: 8 kB / 1.182 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/1.153, allocations: 12.06 kB / 1.182 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/1.153, allocations: 15.94 kB / 1.182 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/1.153, allocations: 8 kB / 1.182 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/1.154, allocations: 0.9872 MB / 1.183 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/1.154, allocations: 215.9 kB / 1.184 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/1.154, allocations: 16.06 kB / 1.184 GB, free: 232 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/1.155, allocations: 20 kB / 1.184 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.155, allocations: 47.77 kB / 1.184 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/1.155, allocations: 35.86 kB / 1.184 GB, free: 128 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007547/1.156, allocations: 0.624 MB / 1.184 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.01e-07/1.156, allocations: 0 / 1.184 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007317/1.156, allocations: 243.6 kB / 1.185 GB, free: 15.27 MB / 0.9512 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.0005137/1.157, allocations: 228.5 kB / 1.185 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008638/1.158, allocations: 474.4 kB / 1.185 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.158, allocations: 0 / 1.185 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/1.158, allocations: 238.2 kB / 1.185 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.16, allocations: 500 kB / 1.186 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/1.163, allocations: 1.565 MB / 1.187 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/1.163, allocations: 1.004 MB / 1.188 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007012/1.164, allocations: 187 kB / 1.189 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/1.164, allocations: 67.42 kB / 1.189 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of SimCode: time 4.2e-07/1.164, allocations: 0 / 1.189 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.02839/1.193, allocations: 17.14 MB / 1.205 GB, free: 9.988 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches