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.004848/0.004848, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001147/0.001147, allocations: 193 kB / 16.67 MB, free: 5.52 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.154/2.154, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8042, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.809/3.613, allocations: 1.349 GB / 2.437 GB, free: 83.5 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.371/3.984, allocations: 330.5 MB / 2.759 GB, free: 2.273 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03947/4.023, allocations: 1.157 MB / 2.761 GB, free: 1.109 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.03558/4.059, allocations: 13.21 MB / 2.773 GB, free: 3.816 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.09252/4.152, allocations: 33.83 MB / 2.806 GB, free: 1.875 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.04409/4.196, allocations: 18.9 MB / 2.825 GB, free: 15.12 MB / 1.779 GB Notification: Performance of NFFlatten.flatten: time 1.089/5.285, allocations: 56.69 MB / 2.88 GB, free: 28.01 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05011/5.335, allocations: 22.25 MB / 2.902 GB, free: 41.27 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06031/5.395, allocations: 25.42 MB / 2.927 GB, free: 41.17 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03715/5.433, allocations: 17.59 MB / 2.944 GB, free: 37.79 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01051/5.443, allocations: 2.054 MB / 2.946 GB, free: 37.79 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04667/5.49, allocations: 17.9 MB / 2.964 GB, free: 37.77 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01111/5.501, allocations: 4.728 MB / 2.968 GB, free: 37.05 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02503/5.526, allocations: 10.86 MB / 2.979 GB, free: 34.18 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.07705/5.603, allocations: 41.12 MB / 3.019 GB, free: 31.11 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/5.603, allocations: 0 / 3.019 GB, free: 31.11 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.773e-06/5.603, allocations: 0 / 3.019 GB, free: 31.11 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.00114/5.604, allocations: 0 / 3.019 GB, free: 31.11 MB / 1.795 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.06103/5.665, allocations: 20.35 MB / 3.039 GB, free: 22.98 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/5.665, allocations: 10.84 kB / 3.039 GB, free: 22.98 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/5.676, allocations: 2.18 MB / 3.041 GB, free: 21.95 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03762/5.713, allocations: 18.27 MB / 3.059 GB, free: 19.14 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/5.714, allocations: 0.9508 MB / 3.06 GB, free: 19.11 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/5.719, allocations: 1.252 MB / 3.061 GB, free: 19.1 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03698/5.756, allocations: 14.09 MB / 3.075 GB, free: 16.7 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006604/5.757, allocations: 41.56 kB / 3.075 GB, free: 16.7 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003676/5.76, allocations: 0.5107 MB / 3.075 GB, free: 16.7 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004667/5.761, allocations: 339.8 kB / 3.076 GB, free: 16.7 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/5.782, allocations: 9.69 MB / 3.085 GB, free: 16.62 MB / 1.795 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.08531/5.867, allocations: 72.18 MB / 3.155 GB, free: 15.89 MB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007891/5.875, allocations: 4.569 MB / 3.16 GB, free: 12.6 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003552/5.879, allocations: 2.439 MB / 3.162 GB, free: 10.96 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08695/5.966, allocations: 51.67 MB / 3.213 GB, free: 0.8945 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/5.966, allocations: 116.3 kB / 3.213 GB, free: 0.8242 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 1.115e-05/5.966, allocations: 0 / 3.213 GB, free: 0.8242 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.02291/5.989, allocations: 6.956 MB / 3.22 GB, free: 11.76 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004375/5.99, allocations: 0.7865 MB / 3.22 GB, free: 10.81 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03411/6.024, allocations: 16.2 MB / 3.236 GB, free: 15.68 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00133/6.025, allocations: 147.8 kB / 3.236 GB, free: 15.6 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.009217/6.034, allocations: 8.209 MB / 3.244 GB, free: 12.02 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002285/6.037, allocations: 1.451 MB / 3.246 GB, free: 10.58 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002602/6.039, allocations: 1.416 MB / 3.247 GB, free: 9.152 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 9.734e-05/6.039, allocations: 305.1 kB / 3.248 GB, free: 8.852 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00326/6.043, allocations: 2.014 MB / 3.249 GB, free: 6.836 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/6.049, allocations: 4.935 MB / 3.254 GB, free: 0.7344 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009551/6.058, allocations: 6.684 MB / 3.261 GB, free: 9.41 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-05/6.058, allocations: 20 kB / 3.261 GB, free: 9.391 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.0205/6.079, allocations: 7.953 MB / 3.269 GB, free: 1.898 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/6.079, allocations: 38.34 kB / 3.269 GB, free: 1.863 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.072e-05/6.079, allocations: 72 kB / 3.269 GB, free: 1.793 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/6.079, allocations: 104.8 kB / 3.269 GB, free: 1.691 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004835/6.084, allocations: 1.374 MB / 3.27 GB, free: 428 kB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001232/6.084, allocations: 155.3 kB / 3.27 GB, free: 304 kB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/6.096, allocations: 1.228 MB / 3.272 GB, free: 15.06 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/6.098, allocations: 371.8 kB / 3.272 GB, free: 14.7 MB / 1.951 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * 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.009697/6.108, allocations: 3.408 MB / 3.275 GB, free: 11.39 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006324/6.114, allocations: 1.628 MB / 3.277 GB, free: 9.738 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/6.131, allocations: 7.519 MB / 3.284 GB, free: 2.449 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001939/6.131, allocations: 83.94 kB / 3.284 GB, free: 2.367 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-05/6.131, allocations: 8 kB / 3.284 GB, free: 2.359 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005103/6.137, allocations: 3.843 MB / 3.288 GB, free: 14.22 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05797/6.195, allocations: 28.47 MB / 3.316 GB, free: 1.625 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001213/6.195, allocations: 36 kB / 3.316 GB, free: 1.59 MB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/6.198, allocations: 0.7735 MB / 3.317 GB, free: 0.8711 MB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-05/6.198, allocations: 52 kB / 3.317 GB, free: 0.8203 MB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000638/6.199, allocations: 156.4 kB / 3.317 GB, free: 0.668 MB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.605e-05/6.199, allocations: 77 kB / 3.317 GB, free: 0.6055 MB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-05/6.199, allocations: 47.84 kB / 3.317 GB, free: 0.5703 MB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/6.217, allocations: 11.91 MB / 3.329 GB, free: 4.098 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008294/6.226, allocations: 2.817 MB / 3.331 GB, free: 1.238 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004397/6.23, allocations: 155.7 kB / 3.331 GB, free: 1.086 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008506/6.238, allocations: 216 kB / 3.332 GB, free: 0.875 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008001/6.239, allocations: 405.2 kB / 3.332 GB, free: 0.5039 MB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008/6.24, allocations: 259.8 kB / 3.332 GB, free: 256 kB / 1.998 GB Notification: Performance of sorting global known variables: time 0.02693/6.267, allocations: 11.54 MB / 3.344 GB, free: 4.801 MB / 2.014 GB Notification: Performance of sort global known variables: time 5.01e-07/6.267, allocations: 4 kB / 3.344 GB, free: 4.797 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.02162/6.289, allocations: 5.281 MB / 3.349 GB, free: 15.51 MB / 2.029 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.01436/6.303, allocations: 4.533 MB / 3.353 GB, free: 11.46 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01082/6.314, allocations: 5.513 MB / 3.358 GB, free: 6.246 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 2.89e-05/6.314, allocations: 10.34 kB / 3.359 GB, free: 6.238 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004759/6.319, allocations: 2.581 MB / 3.361 GB, free: 3.82 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04693/6.366, allocations: 9.944 MB / 3.371 GB, free: 10.36 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05/6.416, allocations: 27.39 MB / 3.397 GB, free: 14.63 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01174/6.428, allocations: 7.419 MB / 3.405 GB, free: 7.176 MB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01457/6.442, allocations: 3.168 MB / 3.408 GB, free: 4.094 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003982/6.446, allocations: 1.053 MB / 3.409 GB, free: 3.047 MB / 2.076 GB Notification: Performance of SimCode: time 8.32e-07/6.446, allocations: 0 / 3.409 GB, free: 3.047 MB / 2.076 GB Notification: Performance of Templates: time 2.454/8.901, allocations: 355.1 MB / 3.756 GB, free: 499.9 MB / 2.295 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