Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001128/0.001128, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008789/0.00879, allocations: 170.7 kB / 16.27 MB, free: 6.656 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.553/1.553, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.785/2.785, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004165, allocations: 12 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8362, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.614/4.45, allocations: 1.342 GB / 2.365 GB, free: 53.46 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.3396/4.79, allocations: 331.1 MB / 2.689 GB, free: 1.465 MB / 1.467 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05299/4.843, allocations: 1.055 MB / 2.69 GB, free: 412 kB / 1.467 GB Notification: Performance of NFTyping.typeComponents: time 0.03936/4.882, allocations: 10.81 MB / 2.7 GB, free: 6.023 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.1029/4.985, allocations: 29.43 MB / 2.729 GB, free: 13.14 MB / 1.514 GB Notification: Performance of NFTyping.typeClassSections: time 0.05273/5.038, allocations: 18.13 MB / 2.747 GB, free: 13.02 MB / 1.529 GB Notification: Performance of NFFlatten.flatten: time 0.1072/5.145, allocations: 75.86 MB / 2.821 GB, free: 2.645 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05144/5.197, allocations: 18.39 MB / 2.839 GB, free: 396 kB / 1.607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05728/5.254, allocations: 20.28 MB / 2.858 GB, free: 13.12 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03618/5.29, allocations: 16.91 MB / 2.875 GB, free: 13.33 MB / 1.654 GB Notification: Performance of NFPackage.collectConstants: time 0.007596/5.298, allocations: 0.6367 MB / 2.876 GB, free: 12.69 MB / 1.654 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04779/5.346, allocations: 15.58 MB / 2.891 GB, free: 13.82 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.009946/5.356, allocations: 3.25 MB / 2.894 GB, free: 10.62 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02484/5.38, allocations: 9.34 MB / 2.903 GB, free: 1.301 MB / 1.67 GB Notification: Performance of NFConvertDAE.convert: time 2.266/7.646, allocations: 40.14 MB / 2.942 GB, free: 68.19 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/7.646, allocations: 0 / 2.942 GB, free: 68.19 MB / 1.67 GB Notification: Performance of FrontEnd: time 1.974e-06/7.646, allocations: 0 / 2.942 GB, free: 68.19 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.001262/7.648, allocations: 2.969 kB / 2.942 GB, free: 68.19 MB / 1.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3233 * Number of variables: 3233 Notification: Performance of Generate backend data structure: time 0.05115/7.699, allocations: 16.77 MB / 2.959 GB, free: 61.35 MB / 1.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/7.699, allocations: 10.92 kB / 2.959 GB, free: 61.35 MB / 1.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/7.711, allocations: 2.258 MB / 2.961 GB, free: 60.29 MB / 1.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04312/7.754, allocations: 18.06 MB / 2.979 GB, free: 57.62 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00129/7.756, allocations: 0.9774 MB / 2.98 GB, free: 57.59 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004762/7.761, allocations: 1.291 MB / 2.981 GB, free: 57.58 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/7.806, allocations: 14.49 MB / 2.995 GB, free: 55.51 MB / 1.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005823/7.807, allocations: 37.31 kB / 2.995 GB, free: 55.51 MB / 1.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/7.81, allocations: 0.5315 MB / 2.995 GB, free: 55.51 MB / 1.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003924/7.81, allocations: 342.8 kB / 2.996 GB, free: 55.51 MB / 1.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02421/7.835, allocations: 10.09 MB / 3.006 GB, free: 55.45 MB / 1.67 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.1057/7.94, allocations: 74.83 MB / 3.079 GB, free: 16.75 MB / 1.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00727/7.948, allocations: 4.56 MB / 3.083 GB, free: 16.07 MB / 1.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/7.951, allocations: 2.438 MB / 3.086 GB, free: 15.83 MB / 1.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09515/8.047, allocations: 51.88 MB / 3.136 GB, free: 25.06 MB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/8.047, allocations: 125.2 kB / 3.136 GB, free: 25.02 MB / 1.717 GB Notification: Performance of pre-optimization done (n=412): time 2.087e-05/8.047, allocations: 0 / 3.136 GB, free: 25.02 MB / 1.717 GB Notification: Performance of matching and sorting (n=412): time 0.01955/8.066, allocations: 6.985 MB / 3.143 GB, free: 24.05 MB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004315/8.067, allocations: 0.786 MB / 3.144 GB, free: 23.15 MB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0498/8.117, allocations: 16.45 MB / 3.16 GB, free: 21.34 MB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.001697/8.119, allocations: 145.5 kB / 3.16 GB, free: 21.3 MB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.01249/8.131, allocations: 8.652 MB / 3.169 GB, free: 18.73 MB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.00305/8.134, allocations: 1.455 MB / 3.17 GB, free: 17.68 MB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002162/8.136, allocations: 0.5034 MB / 3.171 GB, free: 17.57 MB / 1.717 GB Notification: Performance of setup shared object (initialization): time 0.0001139/8.136, allocations: 306.6 kB / 3.171 GB, free: 17.27 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004759/8.141, allocations: 2.042 MB / 3.173 GB, free: 17 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007566/8.149, allocations: 5.091 MB / 3.178 GB, free: 13.21 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00853/8.157, allocations: 6.88 MB / 3.184 GB, free: 10 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/8.157, allocations: 19.5 kB / 3.185 GB, free: 10 MB / 1.717 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01952/8.177, allocations: 8.156 MB / 3.192 GB, free: 8.426 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/8.177, allocations: 34.53 kB / 3.193 GB, free: 8.426 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/8.177, allocations: 80.81 kB / 3.193 GB, free: 8.422 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/8.177, allocations: 108.2 kB / 3.193 GB, free: 8.422 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005285/8.183, allocations: 1.417 MB / 3.194 GB, free: 8.262 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001864/8.183, allocations: 156.9 kB / 3.194 GB, free: 8.246 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01653/8.199, allocations: 1.857 MB / 3.196 GB, free: 7.227 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001807/8.201, allocations: 378.7 kB / 3.196 GB, free: 7.203 MB / 1.717 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.0112/8.213, allocations: 3.545 MB / 3.2 GB, free: 6.832 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006087/8.219, allocations: 1.662 MB / 3.201 GB, free: 5.945 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/8.236, allocations: 7.584 MB / 3.209 GB, free: 4.453 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002356/8.236, allocations: 81.53 kB / 3.209 GB, free: 4.438 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.128e-05/8.236, allocations: 7.438 kB / 3.209 GB, free: 4.438 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004822/8.241, allocations: 3.848 MB / 3.213 GB, free: 2.41 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07588/8.317, allocations: 28.7 MB / 3.241 GB, free: 8.984 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001809/8.317, allocations: 31.38 kB / 3.241 GB, free: 8.984 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003285/8.32, allocations: 0.7713 MB / 3.242 GB, free: 8.891 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-05/8.32, allocations: 59.62 kB / 3.242 GB, free: 8.887 MB / 1.733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000875/8.321, allocations: 156.6 kB / 3.242 GB, free: 8.871 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-05/8.321, allocations: 75.81 kB / 3.242 GB, free: 8.859 MB / 1.733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-05/8.321, allocations: 46.38 kB / 3.242 GB, free: 8.859 MB / 1.733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/8.344, allocations: 11.95 MB / 3.254 GB, free: 3.676 MB / 1.733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01139/8.356, allocations: 3.124 MB / 3.257 GB, free: 1.926 MB / 1.733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006603/8.362, allocations: 127.4 kB / 3.257 GB, free: 1.863 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0134/8.376, allocations: 0.6184 MB / 3.257 GB, free: 1.32 MB / 1.733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/8.377, allocations: 397.4 kB / 3.258 GB, free: 1.004 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001304/8.378, allocations: 262.8 kB / 3.258 GB, free: 0.793 MB / 1.733 GB Notification: Performance of sorting global known variables: time 0.03643/8.415, allocations: 11.69 MB / 3.269 GB, free: 8.988 MB / 1.748 GB Notification: Performance of sort global known variables: time 1.373e-06/8.415, allocations: 0 / 3.269 GB, free: 8.988 MB / 1.748 GB Notification: Performance of remove unused functions: time 0.02933/8.444, allocations: 5.292 MB / 3.275 GB, free: 4.145 MB / 1.748 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 ($cse12.phase,$cse12.region,$cse3.phase,$cse3.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.01682/8.461, allocations: 4.705 MB / 3.279 GB, free: 28 kB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.012/8.473, allocations: 5.513 MB / 3.285 GB, free: 12.43 MB / 1.764 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-05/8.473, allocations: 10.62 kB / 3.285 GB, free: 12.42 MB / 1.764 GB Notification: Performance of simCode: created simulation system equations: time 0.005259/8.478, allocations: 2.576 MB / 3.287 GB, free: 10.77 MB / 1.764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1817/8.66, allocations: 12.41 MB / 3.299 GB, free: 1.688 MB / 1.764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07283/8.733, allocations: 34.29 MB / 3.333 GB, free: 2.273 MB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01987/8.753, allocations: 7.815 MB / 3.34 GB, free: 10.94 MB / 1.811 GB Notification: Performance of simCode: alias equations: time 0.02108/8.774, allocations: 3.239 MB / 3.343 GB, free: 7.844 MB / 1.811 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007945/8.782, allocations: 1.583 MB / 3.345 GB, free: 6.297 MB / 1.811 GB Notification: Performance of SimCode: time 1.283e-06/8.782, allocations: 0 / 3.345 GB, free: 6.297 MB / 1.811 GB Notification: Performance of Templates: time 1.45/10.23, allocations: 480.7 MB / 3.814 GB, free: 1.06 GB / 2.076 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches