Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.004698/0.004698, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001064/0.001064, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.641/2.641, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.15, allocations: 159.1 MB / 1.221 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.615/4.765, allocations: 1.372 GB / 2.592 GB, free: 50.85 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.976/6.741, allocations: 334.3 MB / 2.919 GB, free: 18.79 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06045/6.801, allocations: 1.225 MB / 2.92 GB, free: 18.79 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.04096/6.842, allocations: 13.66 MB / 2.933 GB, free: 18.79 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.1059/6.948, allocations: 33.93 MB / 2.966 GB, free: 18.55 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.05329/7.001, allocations: 19.87 MB / 2.986 GB, free: 18.36 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.09966/7.101, allocations: 57.84 MB / 3.042 GB, free: 18.23 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04979/7.151, allocations: 18.05 MB / 3.06 GB, free: 16.74 MB / 1.904 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07939/7.23, allocations: 25.68 MB / 3.085 GB, free: 15.34 MB / 1.904 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03915/7.269, allocations: 17.76 MB / 3.102 GB, free: 11.69 MB / 1.904 GB Notification: Performance of NFPackage.collectConstants: time 0.0107/7.28, allocations: 2.129 MB / 3.105 GB, free: 11.69 MB / 1.904 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05488/7.335, allocations: 17.98 MB / 3.122 GB, free: 11.46 MB / 1.904 GB Notification: Performance of NFScalarize.scalarize: time 0.01294/7.348, allocations: 5.092 MB / 3.127 GB, free: 10.52 MB / 1.904 GB Notification: Performance of NFVerifyModel.verify: time 0.03299/7.381, allocations: 11.17 MB / 3.138 GB, free: 7.562 MB / 1.904 GB Notification: Performance of NFConvertDAE.convert: time 0.0901/7.471, allocations: 41.09 MB / 3.178 GB, free: 6.816 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/7.471, allocations: 0 / 3.178 GB, free: 6.816 MB / 1.92 GB Notification: Performance of FrontEnd: time 1.804e-06/7.471, allocations: 0 / 3.178 GB, free: 6.816 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.001436/7.472, allocations: 0 / 3.178 GB, free: 6.816 MB / 1.92 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.06891/7.541, allocations: 21.57 MB / 3.199 GB, free: 11.54 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/7.541, allocations: 13.53 kB / 3.199 GB, free: 11.53 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/7.554, allocations: 2.352 MB / 3.201 GB, free: 10.34 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04804/7.602, allocations: 19.02 MB / 3.22 GB, free: 0.5312 MB / 1.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001394/7.604, allocations: 0.9783 MB / 3.221 GB, free: 15.96 MB / 1.951 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006286/7.61, allocations: 1.292 MB / 3.222 GB, free: 15.09 MB / 1.951 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05518/7.665, allocations: 14.62 MB / 3.237 GB, free: 4.309 MB / 1.951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000841/7.666, allocations: 38.41 kB / 3.237 GB, free: 4.293 MB / 1.951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006045/7.672, allocations: 0.5344 MB / 3.237 GB, free: 3.762 MB / 1.951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005383/7.673, allocations: 350.5 kB / 3.237 GB, free: 3.422 MB / 1.951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02878/7.701, allocations: 10.1 MB / 3.247 GB, free: 9.562 MB / 1.967 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.131/7.832, allocations: 76.66 MB / 3.322 GB, free: 10.21 MB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008368/7.841, allocations: 4.363 MB / 3.326 GB, free: 5.672 MB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/7.845, allocations: 2.297 MB / 3.329 GB, free: 3.309 MB / 2.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09486/7.94, allocations: 51.66 MB / 3.379 GB, free: 8.328 MB / 2.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/7.94, allocations: 133.6 kB / 3.379 GB, free: 8.203 MB / 2.107 GB Notification: Performance of pre-optimization done (n=412): time 1.098e-05/7.94, allocations: 4 kB / 3.379 GB, free: 8.199 MB / 2.107 GB Notification: Performance of matching and sorting (n=412): time 0.02311/7.964, allocations: 7.069 MB / 3.386 GB, free: 1.18 MB / 2.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004432/7.964, allocations: 0.7972 MB / 3.387 GB, free: 216 kB / 2.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04938/8.013, allocations: 16.68 MB / 3.403 GB, free: 15.63 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.00212/8.016, allocations: 145.7 kB / 3.403 GB, free: 15.48 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01557/8.031, allocations: 8.686 MB / 3.412 GB, free: 6.793 MB / 2.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.003397/8.035, allocations: 1.532 MB / 3.413 GB, free: 5.285 MB / 2.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007668/8.042, allocations: 1.5 MB / 3.415 GB, free: 3.777 MB / 2.139 GB Notification: Performance of setup shared object (initialization): time 0.000193/8.042, allocations: 305.1 kB / 3.415 GB, free: 3.477 MB / 2.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005924/8.048, allocations: 2.082 MB / 3.417 GB, free: 1.391 MB / 2.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/8.058, allocations: 5.269 MB / 3.422 GB, free: 10.82 MB / 2.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/8.07, allocations: 7.15 MB / 3.429 GB, free: 2.914 MB / 2.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/8.07, allocations: 24 kB / 3.429 GB, free: 2.891 MB / 2.154 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02551/8.095, allocations: 8.439 MB / 3.437 GB, free: 10.93 MB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/8.095, allocations: 42.66 kB / 3.438 GB, free: 10.89 MB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/8.096, allocations: 84.12 kB / 3.438 GB, free: 10.81 MB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/8.096, allocations: 116 kB / 3.438 GB, free: 10.7 MB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006045/8.102, allocations: 1.462 MB / 3.439 GB, free: 9.348 MB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002629/8.102, allocations: 169.4 kB / 3.439 GB, free: 9.219 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01505/8.117, allocations: 1.359 MB / 3.441 GB, free: 7.852 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002489/8.12, allocations: 387.9 kB / 3.441 GB, free: 7.473 MB / 2.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * 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 (847): * Single equations (assignments): 847 * 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.01443/8.134, allocations: 3.57 MB / 3.445 GB, free: 4 MB / 2.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008525/8.143, allocations: 1.754 MB / 3.446 GB, free: 2.234 MB / 2.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02094/8.163, allocations: 7.545 MB / 3.454 GB, free: 10.76 MB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003035/8.164, allocations: 87.88 kB / 3.454 GB, free: 10.68 MB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.821e-05/8.164, allocations: 8 kB / 3.454 GB, free: 10.67 MB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006119/8.17, allocations: 3.848 MB / 3.457 GB, free: 6.52 MB / 2.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06964/8.24, allocations: 28.8 MB / 3.486 GB, free: 9.613 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002015/8.24, allocations: 32 kB / 3.486 GB, free: 9.582 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003887/8.244, allocations: 0.7726 MB / 3.486 GB, free: 8.859 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/8.244, allocations: 54.62 kB / 3.486 GB, free: 8.809 MB / 2.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001182/8.245, allocations: 152.5 kB / 3.487 GB, free: 8.66 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.134e-05/8.245, allocations: 69.09 kB / 3.487 GB, free: 8.605 MB / 2.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-05/8.245, allocations: 47.25 kB / 3.487 GB, free: 8.57 MB / 2.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/8.273, allocations: 12.05 MB / 3.498 GB, free: 11.96 MB / 2.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01117/8.284, allocations: 2.936 MB / 3.501 GB, free: 9 MB / 2.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006555/8.291, allocations: 155.7 kB / 3.501 GB, free: 8.848 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01186/8.302, allocations: 247.5 kB / 3.502 GB, free: 8.605 MB / 2.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/8.304, allocations: 419.5 kB / 3.502 GB, free: 8.223 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00143/8.305, allocations: 255.9 kB / 3.502 GB, free: 7.973 MB / 2.232 GB Notification: Performance of sorting global known variables: time 0.04388/8.349, allocations: 11.86 MB / 3.514 GB, free: 12.21 MB / 2.248 GB Notification: Performance of sort global known variables: time 3.31e-07/8.349, allocations: 0 / 3.514 GB, free: 12.21 MB / 2.248 GB Notification: Performance of remove unused functions: time 0.03139/8.38, allocations: 5.411 MB / 3.519 GB, free: 6.793 MB / 2.248 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.01513/8.396, allocations: 4.454 MB / 3.524 GB, free: 2.77 MB / 2.248 GB Notification: Performance of simCode: created initialization part: time 0.01243/8.408, allocations: 5.467 MB / 3.529 GB, free: 13.62 MB / 2.264 GB Notification: Performance of simCode: created event and clocks part: time 3.963e-05/8.408, allocations: 4 kB / 3.529 GB, free: 13.62 MB / 2.264 GB Notification: Performance of simCode: created simulation system equations: time 0.005076/8.413, allocations: 2.42 MB / 3.531 GB, free: 11.36 MB / 2.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05783/8.471, allocations: 10.01 MB / 3.541 GB, free: 1.648 MB / 2.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06582/8.537, allocations: 28.84 MB / 3.569 GB, free: 4.617 MB / 2.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0203/8.557, allocations: 7.779 MB / 3.577 GB, free: 12.79 MB / 2.311 GB Notification: Performance of simCode: alias equations: time 0.02091/8.578, allocations: 3.233 MB / 3.58 GB, free: 9.582 MB / 2.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004805/8.583, allocations: 1.072 MB / 3.581 GB, free: 8.516 MB / 2.311 GB Notification: Performance of SimCode: time 1.462e-06/8.583, allocations: 3.75 kB / 3.581 GB, free: 8.516 MB / 2.311 GB Notification: Performance of Templates: time 1.933/10.52, allocations: 355.8 MB / 3.928 GB, free: 1.353 GB / 2.498 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches