Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roo.T|bou0.T|oriChiTop.m_flow|oriBot.m_flow|oriChiBot.m_flow|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 91.84 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.00936/0.00936, allocations: 170 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.479/2.479, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004241, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8108, allocations: 142.4 MB / 0.955 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1745/0.9854, allocations: 163 MB / 1.114 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.9999, allocations: 8.843 MB / 1.123 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002122/1.002, allocations: 35.75 kB / 1.123 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/1.004, allocations: 0.5597 MB / 1.123 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004454/1.008, allocations: 1.387 MB / 1.125 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003328/1.012, allocations: 1.077 MB / 1.126 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004842/1.017, allocations: 3.656 MB / 1.129 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/1.018, allocations: 0.8047 MB / 1.13 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/1.02, allocations: 0.8711 MB / 1.131 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1.021, allocations: 0.9763 MB / 1.132 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/1.022, allocations: 44 kB / 1.132 GB, free: 9.461 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002718/1.024, allocations: 1.01 MB / 1.133 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/1.025, allocations: 223 kB / 1.133 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007105/1.025, allocations: 0.5649 MB / 1.134 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/1.027, allocations: 1.651 MB / 1.135 GB, free: 6 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.027, allocations: 4 kB / 1.135 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.904e-06/1.027, allocations: 4 kB / 1.135 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.027, allocations: 0 / 1.135 GB, free: 5.992 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002424/1.03, allocations: 1.367 MB / 1.137 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/1.03, allocations: 8.031 kB / 1.137 GB, free: 4.566 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/1.03, allocations: 131.4 kB / 1.137 GB, free: 4.438 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.031, allocations: 0.8558 MB / 1.138 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/1.032, allocations: 58 kB / 1.138 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.032, allocations: 79.91 kB / 1.138 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/1.033, allocations: 0.8733 MB / 1.139 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/1.033, allocations: 11.94 kB / 1.139 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/1.033, allocations: 32 kB / 1.139 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/1.033, allocations: 20 kB / 1.139 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/1.034, allocations: 0.6363 MB / 1.139 GB, free: 1.781 MB / 0.8887 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.004262/1.039, allocations: 3.969 MB / 1.143 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.04, allocations: 0.5768 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004993/1.04, allocations: 298.4 kB / 1.144 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/1.041, allocations: 1.235 MB / 1.145 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/1.042, allocations: 339.1 kB / 1.146 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/1.042, allocations: 0 / 1.146 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=63): time 0.002431/1.044, allocations: 1.154 MB / 1.147 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/1.044, allocations: 85.66 kB / 1.147 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009758/1.045, allocations: 0.865 MB / 1.148 GB, free: 8.633 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/1.045, allocations: 41.7 kB / 1.148 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/1.046, allocations: 460.2 kB / 1.148 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/1.046, allocations: 220.8 kB / 1.148 GB, free: 7.914 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/1.046, allocations: 53.69 kB / 1.148 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.046, allocations: 330 kB / 1.149 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/1.047, allocations: 213.2 kB / 1.149 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/1.047, allocations: 312.4 kB / 1.149 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008791/1.048, allocations: 0.5347 MB / 1.15 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.048, allocations: 0 / 1.15 GB, free: 6.414 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001213/1.049, allocations: 0.7288 MB / 1.15 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/1.049, allocations: 163.2 kB / 1.151 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.049, allocations: 0 / 1.151 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/1.05, allocations: 116.7 kB / 1.151 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/1.05, allocations: 111.9 kB / 1.151 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005472/1.051, allocations: 0.6693 MB / 1.152 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/1.051, allocations: 99.3 kB / 1.152 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.782e-05/1.051, allocations: 23.98 kB / 1.152 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/1.052, allocations: 4 kB / 1.152 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009846/1.052, allocations: 0.5802 MB / 1.152 GB, free: 3.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/1.053, allocations: 4.062 kB / 1.152 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004152/1.053, allocations: 108.7 kB / 1.152 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/1.053, allocations: 111.8 kB / 1.152 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004842/1.054, allocations: 0.6576 MB / 1.153 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/1.054, allocations: 91.45 kB / 1.153 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/1.054, allocations: 24 kB / 1.153 GB, free: 2.832 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/1.055, allocations: 333.7 kB / 1.153 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.055, allocations: 98.78 kB / 1.154 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/1.057, allocations: 0.9576 MB / 1.155 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.057, allocations: 12 kB / 1.155 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.057, allocations: 0 / 1.155 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.058, allocations: 0.8582 MB / 1.155 GB, free: 0.5039 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/1.061, allocations: 1.861 MB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.061, allocations: 4 kB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/1.061, allocations: 99.88 kB / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/1.062, allocations: 169.5 kB / 1.157 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.062, allocations: 16 kB / 1.157 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008479/1.063, allocations: 1.253 MB / 1.159 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.063, allocations: 0 / 1.159 GB, free: 12.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.065, allocations: 1.296 MB / 1.16 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003917/1.065, allocations: 271.5 kB / 1.16 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/1.065, allocations: 20 kB / 1.16 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/1.066, allocations: 55.95 kB / 1.16 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.066, allocations: 48.53 kB / 1.16 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/1.066, allocations: 31.92 kB / 1.16 GB, free: 11.21 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007186/1.067, allocations: 0.6052 MB / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/1.067, allocations: 0 / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001359/1.068, allocations: 0.5573 MB / 1.161 GB, free: 10.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001527/1.07, allocations: 0.6972 MB / 1.162 GB, free: 9.496 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001773/1.071, allocations: 0.9303 MB / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.071, allocations: 4 kB / 1.163 GB, free: 8.566 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007136/1.072, allocations: 391.5 kB / 1.163 GB, free: 8.184 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.074, allocations: 429.3 kB / 1.164 GB, free: 7.77 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/1.078, allocations: 2.591 MB / 1.166 GB, free: 5.141 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/1.078, allocations: 1.076 MB / 1.167 GB, free: 4.035 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000778/1.079, allocations: 210.4 kB / 1.168 GB, free: 3.828 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.079, allocations: 79.41 kB / 1.168 GB, free: 3.75 MB / 0.92 GB Notification: Performance of SimCode: time 6.41e-07/1.079, allocations: 0 / 1.168 GB, free: 3.75 MB / 0.92 GB Notification: Performance of Templates: time 0.03212/1.111, allocations: 19.87 MB / 1.187 GB, free: 128 kB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ChimneyShaftNoVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftNoVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches