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.001504/0.001504, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001568/0.001568, allocations: 187 kB / 17.34 MB, free: 5.762 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.343/2.343, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 60.12 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7949, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.799/3.594, allocations: 1.37 GB / 2.537 GB, free: 85.15 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.408/4.002, allocations: 334.1 MB / 2.863 GB, free: 15.81 MB / 1.857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05063/4.053, allocations: 1.227 MB / 2.865 GB, free: 14.58 MB / 1.857 GB Notification: Performance of NFTyping.typeComponents: time 0.03967/4.092, allocations: 13.5 MB / 2.878 GB, free: 1 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 1.393/5.486, allocations: 33.89 MB / 2.911 GB, free: 13.56 MB / 1.857 GB Notification: Performance of NFTyping.typeClassSections: time 0.04991/5.536, allocations: 19.84 MB / 2.93 GB, free: 13.23 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.09471/5.63, allocations: 58.31 MB / 2.987 GB, free: 12.94 MB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06418/5.695, allocations: 23.37 MB / 3.01 GB, free: 25.67 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06661/5.761, allocations: 25.66 MB / 3.035 GB, free: 25.09 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04134/5.803, allocations: 17.75 MB / 3.052 GB, free: 21.44 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.0117/5.814, allocations: 2.13 MB / 3.054 GB, free: 21.44 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05728/5.872, allocations: 17.98 MB / 3.072 GB, free: 21.42 MB / 1.873 GB Notification: Performance of NFScalarize.scalarize: time 0.01326/5.885, allocations: 4.891 MB / 3.077 GB, free: 20.68 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.03302/5.918, allocations: 11.17 MB / 3.088 GB, free: 17.72 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.09882/6.017, allocations: 42.15 MB / 3.129 GB, free: 8.07 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 8.986e-06/6.017, allocations: 0 / 3.129 GB, free: 8.07 MB / 1.873 GB Notification: Performance of FrontEnd: time 1.883e-06/6.017, allocations: 2.344 kB / 3.129 GB, free: 8.07 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001448/6.018, allocations: 0 / 3.129 GB, free: 8.07 MB / 1.873 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.06929/6.088, allocations: 21.03 MB / 3.149 GB, free: 13.6 MB / 1.889 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/6.088, allocations: 13.17 kB / 3.149 GB, free: 13.6 MB / 1.889 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/6.099, allocations: 2.253 MB / 3.152 GB, free: 12.5 MB / 1.889 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0458/6.145, allocations: 18.93 MB / 3.17 GB, free: 3.586 MB / 1.889 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/6.146, allocations: 0.9722 MB / 3.171 GB, free: 3.023 MB / 1.889 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005309/6.152, allocations: 1.294 MB / 3.172 GB, free: 2.145 MB / 1.889 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04734/6.199, allocations: 14.61 MB / 3.187 GB, free: 7.75 MB / 1.904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007985/6.2, allocations: 42.59 kB / 3.187 GB, free: 7.73 MB / 1.904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004968/6.205, allocations: 0.5325 MB / 3.187 GB, free: 7.598 MB / 1.904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005367/6.205, allocations: 350.5 kB / 3.187 GB, free: 7.266 MB / 1.904 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02461/6.23, allocations: 10.1 MB / 3.197 GB, free: 1.113 MB / 1.904 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.1128/6.343, allocations: 76.55 MB / 3.272 GB, free: 6.891 MB / 1.982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008054/6.351, allocations: 4.559 MB / 3.277 GB, free: 2.156 MB / 1.982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/6.355, allocations: 2.432 MB / 3.279 GB, free: 15.66 MB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09123/6.446, allocations: 51.67 MB / 3.329 GB, free: 4.688 MB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/6.447, allocations: 130.6 kB / 3.33 GB, free: 4.562 MB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 7.303e-06/6.447, allocations: 0 / 3.33 GB, free: 4.562 MB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.01902/6.466, allocations: 6.988 MB / 3.336 GB, free: 13.65 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003975/6.466, allocations: 0.7948 MB / 3.337 GB, free: 12.69 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04379/6.51, allocations: 16.68 MB / 3.353 GB, free: 12.11 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001378/6.511, allocations: 141.7 kB / 3.354 GB, free: 11.96 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01326/6.525, allocations: 8.568 MB / 3.362 GB, free: 3.383 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002849/6.528, allocations: 1.463 MB / 3.363 GB, free: 1.934 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005386/6.533, allocations: 1.487 MB / 3.365 GB, free: 448 kB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001036/6.533, allocations: 305.1 kB / 3.365 GB, free: 140 kB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003537/6.537, allocations: 2.078 MB / 3.367 GB, free: 14.05 MB / 2.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006583/6.543, allocations: 5.291 MB / 3.372 GB, free: 7.469 MB / 2.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009876/6.553, allocations: 7.13 MB / 3.379 GB, free: 15.59 MB / 2.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.079e-05/6.553, allocations: 20 kB / 3.379 GB, free: 15.57 MB / 2.107 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02159/6.575, allocations: 8.368 MB / 3.387 GB, free: 7.719 MB / 2.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/6.575, allocations: 42.66 kB / 3.387 GB, free: 7.68 MB / 2.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/6.575, allocations: 80.09 kB / 3.388 GB, free: 7.602 MB / 2.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/6.575, allocations: 124 kB / 3.388 GB, free: 7.48 MB / 2.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005619/6.581, allocations: 1.456 MB / 3.389 GB, free: 6.137 MB / 2.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002279/6.581, allocations: 174.9 kB / 3.389 GB, free: 6 MB / 2.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/6.595, allocations: 1.318 MB / 3.391 GB, free: 4.672 MB / 2.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/6.597, allocations: 392 kB / 3.391 GB, free: 4.289 MB / 2.107 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.01193/6.609, allocations: 3.571 MB / 3.394 GB, free: 0.8164 MB / 2.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006794/6.616, allocations: 1.67 MB / 3.396 GB, free: 15.12 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01818/6.634, allocations: 7.568 MB / 3.403 GB, free: 7.754 MB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002409/6.634, allocations: 83.94 kB / 3.404 GB, free: 7.672 MB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.212e-05/6.634, allocations: 8 kB / 3.404 GB, free: 7.664 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005068/6.64, allocations: 3.847 MB / 3.407 GB, free: 3.52 MB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0636/6.703, allocations: 28.81 MB / 3.435 GB, free: 6.59 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001367/6.703, allocations: 31.98 kB / 3.435 GB, free: 6.559 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003347/6.707, allocations: 0.775 MB / 3.436 GB, free: 5.836 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/6.707, allocations: 48 kB / 3.436 GB, free: 5.789 MB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008672/6.708, allocations: 155.9 kB / 3.436 GB, free: 5.637 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.404e-05/6.708, allocations: 67.7 kB / 3.436 GB, free: 5.582 MB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.519e-05/6.708, allocations: 54.62 kB / 3.437 GB, free: 5.543 MB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02279/6.731, allocations: 11.98 MB / 3.448 GB, free: 9.004 MB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01046/6.741, allocations: 2.856 MB / 3.451 GB, free: 6.105 MB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005986/6.747, allocations: 151.7 kB / 3.451 GB, free: 5.957 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01087/6.758, allocations: 259.3 kB / 3.451 GB, free: 5.707 MB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/6.76, allocations: 401.9 kB / 3.452 GB, free: 5.34 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001347/6.761, allocations: 255.9 kB / 3.452 GB, free: 5.09 MB / 2.17 GB Notification: Performance of sorting global known variables: time 0.03213/6.793, allocations: 11.86 MB / 3.464 GB, free: 9.332 MB / 2.186 GB Notification: Performance of sort global known variables: time 1.102e-06/6.793, allocations: 0 / 3.464 GB, free: 9.332 MB / 2.186 GB Notification: Performance of remove unused functions: time 0.027/6.82, allocations: 5.359 MB / 3.469 GB, free: 3.965 MB / 2.186 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.01616/6.836, allocations: 4.538 MB / 3.473 GB, free: 15.9 MB / 2.201 GB Notification: Performance of simCode: created initialization part: time 0.01315/6.849, allocations: 5.668 MB / 3.479 GB, free: 10.56 MB / 2.201 GB Notification: Performance of simCode: created event and clocks part: time 5.782e-05/6.85, allocations: 13.28 kB / 3.479 GB, free: 10.55 MB / 2.201 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/6.855, allocations: 2.579 MB / 3.481 GB, free: 8.133 MB / 2.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05808/6.913, allocations: 10.02 MB / 3.491 GB, free: 14.43 MB / 2.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06576/6.979, allocations: 28.08 MB / 3.519 GB, free: 1.992 MB / 2.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/6.994, allocations: 7.522 MB / 3.526 GB, free: 10.43 MB / 2.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004041/6.998, allocations: 1.12 MB / 3.527 GB, free: 9.309 MB / 2.248 GB Notification: Performance of SimCode: time 2.144e-06/6.998, allocations: 0 / 3.527 GB, free: 9.309 MB / 2.248 GB Notification: Performance of Templates: time 1.803/8.801, allocations: 323 MB / 3.842 GB, free: 1.282 GB / 2.436 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/jenkins1/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