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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001044/0.001044, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001194/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005164, allocations: 8 kB / 0.8153 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8571/0.8576, allocations: 142.4 MB / 0.9544 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2177/1.075, allocations: 180.9 MB / 1.131 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01219/1.088, allocations: 8.782 MB / 1.14 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/1.089, allocations: 11.94 kB / 1.14 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/1.09, allocations: 405.5 kB / 1.14 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004624/1.095, allocations: 1.48 MB / 1.141 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/1.097, allocations: 0.5808 MB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003515/1.101, allocations: 2.639 MB / 1.145 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/1.102, allocations: 0.5986 MB / 1.145 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/1.105, allocations: 1.144 MB / 1.146 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/1.106, allocations: 0.7161 MB / 1.147 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/1.106, allocations: 47.94 kB / 1.147 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/1.11, allocations: 1.15 MB / 1.148 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004766/1.11, allocations: 319 kB / 1.148 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004057/1.11, allocations: 213.2 kB / 1.149 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002078/1.113, allocations: 1.173 MB / 1.15 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.113, allocations: 0 / 1.15 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.845e-06/1.113, allocations: 0 / 1.15 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.113, allocations: 0 / 1.15 GB, free: 6.852 MB / 0.9044 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.003195/1.116, allocations: 1.274 MB / 1.151 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.116, allocations: 12.02 kB / 1.151 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/1.116, allocations: 146.8 kB / 1.151 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/1.117, allocations: 0.5529 MB / 1.152 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/1.117, allocations: 50 kB / 1.152 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.118, allocations: 71.98 kB / 1.152 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.119, allocations: 0.8665 MB / 1.153 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/1.119, allocations: 0 / 1.153 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/1.119, allocations: 24 kB / 1.153 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.119, allocations: 53.97 kB / 1.153 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/1.12, allocations: 0.7651 MB / 1.154 GB, free: 2.918 MB / 0.9044 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.005347/1.126, allocations: 4.53 MB / 1.158 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/1.126, allocations: 417.2 kB / 1.158 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/1.127, allocations: 197.4 kB / 1.159 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000855/1.128, allocations: 0.7678 MB / 1.159 GB, free: 12.3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.128, allocations: 34.89 kB / 1.159 GB, free: 12.26 MB / 0.92 GB Notification: Performance of pre-optimization done (n=40): time 4.288e-06/1.128, allocations: 0 / 1.159 GB, free: 12.26 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.001451/1.129, allocations: 0.6106 MB / 1.16 GB, free: 11.64 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.129, allocations: 59.34 kB / 1.16 GB, free: 11.57 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/1.13, allocations: 0.8718 MB / 1.161 GB, free: 10.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/1.131, allocations: 29.7 kB / 1.161 GB, free: 10.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/1.131, allocations: 391.6 kB / 1.161 GB, free: 10.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/1.131, allocations: 138 kB / 1.161 GB, free: 10.13 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/1.131, allocations: 4 kB / 1.161 GB, free: 10.13 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.131, allocations: 326 kB / 1.162 GB, free: 9.805 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/1.132, allocations: 189 kB / 1.162 GB, free: 9.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/1.132, allocations: 285.6 kB / 1.162 GB, free: 9.316 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/1.132, allocations: 217.7 kB / 1.162 GB, free: 9.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/1.132, allocations: 4 kB / 1.162 GB, free: 9.102 MB / 0.92 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001009/1.134, allocations: 0.5855 MB / 1.163 GB, free: 8.508 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.134, allocations: 6.031 kB / 1.163 GB, free: 8.504 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.134, allocations: 4.219 kB / 1.163 GB, free: 8.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.134, allocations: 11.95 kB / 1.163 GB, free: 8.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/1.134, allocations: 104 kB / 1.163 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/1.134, allocations: 15.91 kB / 1.163 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/1.135, allocations: 103.1 kB / 1.163 GB, free: 8.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/1.135, allocations: 23.98 kB / 1.163 GB, free: 8.246 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004159/1.136, allocations: 237.5 kB / 1.163 GB, free: 8.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.136, allocations: 82.97 kB / 1.163 GB, free: 7.922 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/1.137, allocations: 0.5631 MB / 1.164 GB, free: 7.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.137, allocations: 8 kB / 1.164 GB, free: 7.34 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.137, allocations: 3.953 kB / 1.164 GB, free: 7.336 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.137, allocations: 7.984 kB / 1.164 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.14, allocations: 2.119 MB / 1.166 GB, free: 5.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.14, allocations: 11.98 kB / 1.166 GB, free: 5.023 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/1.14, allocations: 91.84 kB / 1.166 GB, free: 4.934 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/1.14, allocations: 11.95 kB / 1.166 GB, free: 4.922 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/1.141, allocations: 20.52 kB / 1.166 GB, free: 4.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/1.141, allocations: 8 kB / 1.166 GB, free: 4.895 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.141, allocations: 15.94 kB / 1.166 GB, free: 4.879 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/1.142, allocations: 0.9873 MB / 1.167 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/1.142, allocations: 219.9 kB / 1.167 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.142, allocations: 19.95 kB / 1.167 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/1.143, allocations: 52.02 kB / 1.168 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/1.143, allocations: 51.83 kB / 1.168 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/1.143, allocations: 27.92 kB / 1.168 GB, free: 3.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008297/1.144, allocations: 0.6161 MB / 1.168 GB, free: 2.801 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/1.144, allocations: 0 / 1.168 GB, free: 2.801 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008066/1.145, allocations: 251.6 kB / 1.168 GB, free: 2.555 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005167/1.145, allocations: 218.4 kB / 1.169 GB, free: 2.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008443/1.146, allocations: 460.6 kB / 1.169 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.146, allocations: 4.062 kB / 1.169 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/1.147, allocations: 233.1 kB / 1.169 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/1.149, allocations: 494.5 kB / 1.17 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/1.152, allocations: 1.806 MB / 1.172 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008258/1.153, allocations: 1.005 MB / 1.173 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008354/1.154, allocations: 187 kB / 1.173 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.154, allocations: 63.44 kB / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of SimCode: time 1.633e-06/1.154, allocations: 0 / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.03301/1.187, allocations: 15.85 MB / 1.188 GB, free: 14.35 MB / 0.9512 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