Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.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_latest_Buildings.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.001035/0.001042, 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.009172/0.009172, 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.406/1.406, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12.28 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3049, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.654/3.959, allocations: 1.342 GB / 2.401 GB, free: 53.35 MB / 1.498 GB Notification: Performance of NFInst.instExpressions: time 0.401/4.36, allocations: 330.9 MB / 2.724 GB, free: 5.301 MB / 1.498 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05418/4.414, allocations: 1.055 MB / 2.725 GB, free: 4.238 MB / 1.498 GB Notification: Performance of NFTyping.typeComponents: time 0.04011/4.454, allocations: 10.8 MB / 2.735 GB, free: 9.867 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.1067/4.561, allocations: 29.44 MB / 2.764 GB, free: 0.9844 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.05598/4.617, allocations: 18.11 MB / 2.782 GB, free: 0.8594 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.1036/4.72, allocations: 75.87 MB / 2.856 GB, free: 6.914 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04773/4.768, allocations: 18.38 MB / 2.874 GB, free: 4.668 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06102/4.829, allocations: 20.28 MB / 2.894 GB, free: 1.395 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03935/4.869, allocations: 16.91 MB / 2.91 GB, free: 1.625 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008839/4.878, allocations: 0.6328 MB / 2.911 GB, free: 0.9922 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0528/4.93, allocations: 15.59 MB / 2.926 GB, free: 2.113 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.009218/4.94, allocations: 3.26 MB / 2.929 GB, free: 14.93 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.0295/4.969, allocations: 9.33 MB / 2.938 GB, free: 5.613 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 2.495/7.464, allocations: 38.97 MB / 2.976 GB, free: 111.9 MB / 1.733 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/7.464, allocations: 1.047 kB / 2.976 GB, free: 111.9 MB / 1.733 GB Notification: Performance of FrontEnd: time 3.787e-06/7.464, allocations: 0.5625 kB / 2.976 GB, free: 111.9 MB / 1.733 GB Notification: Performance of Transformations before backend: time 0.001356/7.465, allocations: 0 / 2.976 GB, free: 111.9 MB / 1.733 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.04458/7.51, allocations: 16.75 MB / 2.993 GB, free: 106 MB / 1.733 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/7.51, allocations: 9.5 kB / 2.993 GB, free: 106 MB / 1.733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/7.523, allocations: 2.25 MB / 2.995 GB, free: 105 MB / 1.733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04665/7.569, allocations: 18.03 MB / 3.012 GB, free: 102.3 MB / 1.733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/7.571, allocations: 0.9765 MB / 3.013 GB, free: 102.3 MB / 1.733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004628/7.576, allocations: 1.291 MB / 3.015 GB, free: 102.3 MB / 1.733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05121/7.627, allocations: 14.49 MB / 3.029 GB, free: 100.2 MB / 1.733 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006961/7.628, allocations: 39.59 kB / 3.029 GB, free: 100.2 MB / 1.733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/7.63, allocations: 0.5335 MB / 3.029 GB, free: 100.2 MB / 1.733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004385/7.631, allocations: 345.6 kB / 3.03 GB, free: 100.2 MB / 1.733 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/7.654, allocations: 10.09 MB / 3.039 GB, free: 100.1 MB / 1.733 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.1094/7.763, allocations: 74.76 MB / 3.112 GB, free: 61.53 MB / 1.733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008239/7.772, allocations: 4.573 MB / 3.117 GB, free: 60.83 MB / 1.733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004603/7.776, allocations: 2.432 MB / 3.119 GB, free: 60.61 MB / 1.733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08521/7.861, allocations: 51.88 MB / 3.17 GB, free: 37.84 MB / 1.748 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/7.862, allocations: 131.5 kB / 3.17 GB, free: 37.78 MB / 1.748 GB Notification: Performance of pre-optimization done (n=412): time 7.594e-06/7.862, allocations: 0 / 3.17 GB, free: 37.78 MB / 1.748 GB Notification: Performance of matching and sorting (n=412): time 0.0195/7.881, allocations: 6.983 MB / 3.177 GB, free: 36.82 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004607/7.882, allocations: 0.7942 MB / 3.178 GB, free: 35.91 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04529/7.927, allocations: 16.44 MB / 3.194 GB, free: 34.89 MB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.001785/7.929, allocations: 144.7 kB / 3.194 GB, free: 34.86 MB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.01252/7.941, allocations: 8.644 MB / 3.202 GB, free: 33.03 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.003098/7.945, allocations: 1.461 MB / 3.204 GB, free: 32.11 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/7.946, allocations: 0.5071 MB / 3.204 GB, free: 32.08 MB / 1.748 GB Notification: Performance of setup shared object (initialization): time 0.0001322/7.946, allocations: 305.1 kB / 3.205 GB, free: 31.78 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/7.95, allocations: 2.044 MB / 3.207 GB, free: 31.77 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007281/7.957, allocations: 5.081 MB / 3.212 GB, free: 28.39 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009931/7.967, allocations: 6.882 MB / 3.218 GB, free: 25.54 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/7.968, allocations: 21.88 kB / 3.218 GB, free: 25.54 MB / 1.748 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.02348/7.991, allocations: 8.156 MB / 3.226 GB, free: 24.57 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/7.991, allocations: 39.28 kB / 3.226 GB, free: 24.57 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/7.991, allocations: 74.78 kB / 3.226 GB, free: 24.57 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/7.992, allocations: 113.4 kB / 3.226 GB, free: 24.57 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005396/7.997, allocations: 1.404 MB / 3.228 GB, free: 24.57 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002717/7.997, allocations: 157.8 kB / 3.228 GB, free: 24.57 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01954/8.017, allocations: 1.861 MB / 3.23 GB, free: 23.79 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/8.019, allocations: 384.5 kB / 3.23 GB, free: 23.79 MB / 1.748 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.01374/8.033, allocations: 3.551 MB / 3.234 GB, free: 23.62 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006959/8.04, allocations: 1.656 MB / 3.235 GB, free: 22.74 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/8.057, allocations: 7.547 MB / 3.243 GB, free: 22.29 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001901/8.057, allocations: 89.56 kB / 3.243 GB, free: 22.29 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-05/8.057, allocations: 7.562 kB / 3.243 GB, free: 22.29 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004663/8.062, allocations: 3.845 MB / 3.246 GB, free: 20.54 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06006/8.122, allocations: 28.67 MB / 3.274 GB, free: 13.84 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.777e-05/8.122, allocations: 32.22 kB / 3.274 GB, free: 13.81 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/8.125, allocations: 0.7833 MB / 3.275 GB, free: 13.21 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.796e-05/8.125, allocations: 48 kB / 3.275 GB, free: 13.16 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/8.125, allocations: 156.7 kB / 3.275 GB, free: 13.09 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.087e-05/8.126, allocations: 69.81 kB / 3.276 GB, free: 13.04 MB / 1.748 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-05/8.126, allocations: 48.38 kB / 3.276 GB, free: 13 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/8.142, allocations: 11.95 MB / 3.287 GB, free: 4.133 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01087/8.153, allocations: 3.1 MB / 3.29 GB, free: 1.926 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006141/8.159, allocations: 133.2 kB / 3.29 GB, free: 1.859 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01406/8.173, allocations: 0.6064 MB / 3.291 GB, free: 1.316 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/8.174, allocations: 395.5 kB / 3.291 GB, free: 1.004 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007987/8.175, allocations: 261.5 kB / 3.292 GB, free: 0.793 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02937/8.205, allocations: 11.7 MB / 3.303 GB, free: 8.988 MB / 1.764 GB Notification: Performance of sort global known variables: time 1.834e-06/8.205, allocations: 4 kB / 3.303 GB, free: 8.984 MB / 1.764 GB Notification: Performance of remove unused functions: time 0.02506/8.23, allocations: 5.291 MB / 3.308 GB, free: 4.145 MB / 1.764 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.0136/8.243, allocations: 4.6 MB / 3.313 GB, free: 128 kB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.01138/8.255, allocations: 5.5 MB / 3.318 GB, free: 12.53 MB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 4.988e-05/8.255, allocations: 16.39 kB / 3.318 GB, free: 12.52 MB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.004891/8.26, allocations: 2.576 MB / 3.321 GB, free: 10.88 MB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1809/8.441, allocations: 12.4 MB / 3.333 GB, free: 1.742 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06728/8.508, allocations: 34.3 MB / 3.366 GB, free: 2.312 MB / 1.811 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/8.523, allocations: 7.811 MB / 3.374 GB, free: 10.98 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.01886/8.542, allocations: 3.222 MB / 3.377 GB, free: 7.859 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008204/8.55, allocations: 1.581 MB / 3.379 GB, free: 6.312 MB / 1.826 GB Notification: Performance of SimCode: time 3.306e-06/8.55, allocations: 0 / 3.379 GB, free: 6.312 MB / 1.826 GB Notification: Performance of Templates: time 1.43/9.98, allocations: 477.6 MB / 3.845 GB, free: 1.176 GB / 2.154 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches