Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|buiTesOutETS.PHea|buiTesOutETS.PCoo|buiTesOutETS.PFan|buiTesOutETS.PPum|buiTesOutETSBui.QHea_flow|buiTesOutETSBui.QCoo_flow|buiTesOutETSBui.PHea|buiTesOutETSBui.PCoo|buiTesOutETSBui.PFan|buiTesOutETSBui.PPum|buiTesFacMul.PHea|buiTesFacMul.PCoo|buiTesFacMul.PFan|buiTesFacMul.PPum|buiTesFacMul.QHea_flow|buiTesFacMul.QCoo_flow",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, 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.008325/0.008325, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.385/2.385, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6589, allocations: 142.4 MB / 0.955 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.648/4.307, allocations: 1.322 GB / 2.277 GB, free: 54.21 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.3435/4.65, allocations: 327.7 MB / 2.597 GB, free: 12.8 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04655/4.697, allocations: 0.9969 MB / 2.598 GB, free: 11.8 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.03333/4.73, allocations: 10.54 MB / 2.608 GB, free: 1.691 MB / 1.389 GB Notification: Performance of NFTyping.typeBindings: time 0.09358/4.824, allocations: 29.38 MB / 2.637 GB, free: 8.863 MB / 1.42 GB Notification: Performance of NFTyping.typeClassSections: time 0.06139/4.885, allocations: 17.27 MB / 2.654 GB, free: 9.402 MB / 1.436 GB Notification: Performance of NFFlatten.flatten: time 0.09257/4.978, allocations: 74.4 MB / 2.727 GB, free: 0.9844 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04244/5.021, allocations: 17.36 MB / 2.744 GB, free: 15.76 MB / 1.529 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0592/5.08, allocations: 20.14 MB / 2.763 GB, free: 12.62 MB / 1.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03458/5.114, allocations: 16.8 MB / 2.78 GB, free: 12.97 MB / 1.561 GB Notification: Performance of NFPackage.collectConstants: time 0.006963/5.121, allocations: 0.6211 MB / 2.78 GB, free: 12.35 MB / 1.561 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04675/5.168, allocations: 15.56 MB / 2.795 GB, free: 13.5 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.008352/5.177, allocations: 3.174 MB / 2.799 GB, free: 10.37 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.02257/5.199, allocations: 9.114 MB / 2.807 GB, free: 1.273 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 2.223/7.422, allocations: 39.19 MB / 2.846 GB, free: 111.7 MB / 1.608 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/7.422, allocations: 2.531 kB / 2.846 GB, free: 111.7 MB / 1.608 GB Notification: Performance of FrontEnd: time 4.007e-06/7.422, allocations: 0.75 kB / 2.846 GB, free: 111.7 MB / 1.608 GB Notification: Performance of Transformations before backend: time 0.001239/7.423, allocations: 2.406 kB / 2.846 GB, free: 111.7 MB / 1.608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.04521/7.468, allocations: 16.36 MB / 2.862 GB, free: 105.9 MB / 1.608 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/7.468, allocations: 11.44 kB / 2.862 GB, free: 105.9 MB / 1.608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/7.479, allocations: 2.18 MB / 2.864 GB, free: 104.8 MB / 1.608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04222/7.521, allocations: 17.46 MB / 2.881 GB, free: 102.3 MB / 1.608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001556/7.523, allocations: 0.9439 MB / 2.882 GB, free: 102.2 MB / 1.608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004637/7.527, allocations: 1.253 MB / 2.883 GB, free: 102.2 MB / 1.608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04337/7.571, allocations: 13.97 MB / 2.897 GB, free: 100.1 MB / 1.608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009344/7.572, allocations: 33.88 kB / 2.897 GB, free: 100.1 MB / 1.608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/7.575, allocations: 0.5081 MB / 2.897 GB, free: 100.1 MB / 1.608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005305/7.576, allocations: 339.5 kB / 2.898 GB, free: 100.1 MB / 1.608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02541/7.601, allocations: 9.685 MB / 2.907 GB, free: 100 MB / 1.608 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.09471/7.696, allocations: 70.51 MB / 2.976 GB, free: 63.65 MB / 1.608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/7.703, allocations: 4.565 MB / 2.98 GB, free: 62.96 MB / 1.608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003887/7.707, allocations: 2.435 MB / 2.983 GB, free: 62.73 MB / 1.608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08015/7.787, allocations: 51.88 MB / 3.033 GB, free: 39.95 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/7.788, allocations: 123 kB / 3.033 GB, free: 39.91 MB / 1.623 GB Notification: Performance of pre-optimization done (n=412): time 1.468e-05/7.788, allocations: 0 / 3.033 GB, free: 39.91 MB / 1.623 GB Notification: Performance of matching and sorting (n=412): time 0.01566/7.803, allocations: 6.937 MB / 3.04 GB, free: 38.97 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003619/7.804, allocations: 0.7899 MB / 3.041 GB, free: 38.07 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03862/7.842, allocations: 15.97 MB / 3.057 GB, free: 37.13 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.001402/7.844, allocations: 147.7 kB / 3.057 GB, free: 37.1 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.01033/7.854, allocations: 8.286 MB / 3.065 GB, free: 35.4 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.002506/7.857, allocations: 1.454 MB / 3.066 GB, free: 34.48 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/7.858, allocations: 487 kB / 3.067 GB, free: 34.45 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 0.0001138/7.859, allocations: 306.6 kB / 3.067 GB, free: 34.16 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003907/7.862, allocations: 1.971 MB / 3.069 GB, free: 34.14 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005719/7.868, allocations: 4.74 MB / 3.074 GB, free: 31.13 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/7.876, allocations: 6.421 MB / 3.08 GB, free: 28.66 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.498e-05/7.876, allocations: 19.72 kB / 3.08 GB, free: 28.66 MB / 1.623 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01687/7.893, allocations: 7.747 MB / 3.087 GB, free: 27.73 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 9.445e-05/7.893, allocations: 33.91 kB / 3.087 GB, free: 27.73 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/7.893, allocations: 67.75 kB / 3.088 GB, free: 27.73 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/7.893, allocations: 95.28 kB / 3.088 GB, free: 27.73 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004401/7.897, allocations: 1.325 MB / 3.089 GB, free: 27.73 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001653/7.898, allocations: 142.6 kB / 3.089 GB, free: 27.73 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0143/7.912, allocations: 1.698 MB / 3.091 GB, free: 26.98 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001494/7.913, allocations: 350.8 kB / 3.091 GB, free: 26.98 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 4 (senDifEntFlo1.state_b1_inflow.phase,senDifEntFlo1.state_a1_inflow.phase,senDifEntFlo.state_b1_inflow.phase,senDifEntFlo.state_a1_inflow.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 775 * 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.008589/7.922, allocations: 3.385 MB / 3.094 GB, free: 26.83 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005115/7.927, allocations: 1.621 MB / 3.096 GB, free: 25.97 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/7.941, allocations: 7.526 MB / 3.103 GB, free: 25.52 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001971/7.942, allocations: 83.83 kB / 3.103 GB, free: 25.52 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-05/7.942, allocations: 11.38 kB / 3.103 GB, free: 25.52 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004645/7.946, allocations: 3.833 MB / 3.107 GB, free: 23.79 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05169/7.998, allocations: 28.37 MB / 3.135 GB, free: 9.059 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001875/7.998, allocations: 32 kB / 3.135 GB, free: 9.027 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/8.001, allocations: 0.7778 MB / 3.136 GB, free: 8.332 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.674e-05/8.001, allocations: 52 kB / 3.136 GB, free: 8.281 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007601/8.002, allocations: 156.5 kB / 3.136 GB, free: 8.188 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.779e-05/8.002, allocations: 72.11 kB / 3.136 GB, free: 8.129 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.683e-05/8.002, allocations: 49.5 kB / 3.136 GB, free: 8.094 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/8.023, allocations: 11.9 MB / 3.148 GB, free: 14.58 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009263/8.032, allocations: 3.088 MB / 3.151 GB, free: 12.39 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005053/8.037, allocations: 131.7 kB / 3.151 GB, free: 12.33 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01131/8.049, allocations: 0.5479 MB / 3.151 GB, free: 11.85 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/8.05, allocations: 397.8 kB / 3.152 GB, free: 11.54 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00136/8.051, allocations: 257.8 kB / 3.152 GB, free: 11.32 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.02785/8.079, allocations: 11.39 MB / 3.163 GB, free: 3.719 MB / 1.639 GB Notification: Performance of sort global known variables: time 2.9e-07/8.079, allocations: 0 / 3.163 GB, free: 3.719 MB / 1.639 GB Notification: Performance of remove unused functions: time 0.02249/8.102, allocations: 5.218 MB / 3.168 GB, free: 14.95 MB / 1.654 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 141 * Number of states: 15 (buiTesFacMul.bui.loaHea.vol.dynBal.U,buiTesFacMul.bui.loaCoo.vol.dynBal.U,buiTesOutETSBui.bui.loaHea.vol.dynBal.U,buiTesOutETSBui.bui.loaCoo.vol.dynBal.U,buiTesOutETS.bui.loaHea.vol.dynBal.U,buiTesOutETS.bui.loaCoo.vol.dynBal.U,buiComGen5.bui.loaHea.vol.dynBal.U,buiComGen5.bui.loaCoo.vol.dynBal.U,buiHeaGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaHea.vol.dynBal.U,buiComGen2to4.bui.loaCoo.vol.dynBal.U,buiCoo.bui.loaCoo.vol.dynBal.U,buiComGen1.bui.loaHea.vol.dynBal.U,buiComGen1.bui.loaCoo.vol.dynBal.U,buiHeaGen1.bui.loaHea.vol.dynBal.U) * Number of discrete variables: 4 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (478): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 66 * 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.01334/8.115, allocations: 4.717 MB / 3.173 GB, free: 10.82 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.01054/8.126, allocations: 5.328 MB / 3.178 GB, free: 7.328 MB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-05/8.126, allocations: 12.19 kB / 3.178 GB, free: 7.316 MB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.004443/8.13, allocations: 2.589 MB / 3.18 GB, free: 5.664 MB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1697/8.3, allocations: 10.81 MB / 3.191 GB, free: 13.37 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0557/8.356, allocations: 33.22 MB / 3.223 GB, free: 14.93 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01328/8.369, allocations: 7.431 MB / 3.231 GB, free: 7.941 MB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.01799/8.387, allocations: 3.128 MB / 3.234 GB, free: 4.926 MB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005961/8.393, allocations: 1.3 MB / 3.235 GB, free: 3.66 MB / 1.701 GB Notification: Performance of SimCode: time 8.22e-07/8.393, allocations: 0 / 3.235 GB, free: 3.66 MB / 1.701 GB Notification: Performance of Templates: time 1.236/9.629, allocations: 410.5 MB / 3.636 GB, free: 1.102 GB / 1.983 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches