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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001683/0.001683, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002117/0.002117, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.333/1.333, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.7106 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6748/0.6763, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.501/4.177, allocations: 1.36 GB / 2.378 GB, free: 92.25 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3482/4.526, allocations: 334.6 MB / 2.704 GB, free: 39.54 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05942/4.585, allocations: 1.126 MB / 2.705 GB, free: 38.88 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.03859/4.624, allocations: 10.88 MB / 2.716 GB, free: 28.65 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.07939/4.703, allocations: 29.44 MB / 2.745 GB, free: 3.762 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.04555/4.749, allocations: 18.06 MB / 2.762 GB, free: 3.684 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.08539/4.834, allocations: 75.89 MB / 2.837 GB, free: 9.301 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0376/4.872, allocations: 18.98 MB / 2.855 GB, free: 6.434 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05064/4.923, allocations: 20.94 MB / 2.875 GB, free: 2.512 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03385/4.956, allocations: 17.71 MB / 2.893 GB, free: 1.965 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007155/4.964, allocations: 0.8984 MB / 2.894 GB, free: 1.066 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04435/5.008, allocations: 15.86 MB / 2.909 GB, free: 1.918 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.008636/5.017, allocations: 3.687 MB / 2.913 GB, free: 14.3 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02463/5.041, allocations: 9.855 MB / 2.922 GB, free: 4.465 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.04783/5.089, allocations: 33.84 MB / 2.955 GB, free: 3.762 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/5.089, allocations: 0 / 2.955 GB, free: 3.762 MB / 1.732 GB Notification: Performance of FrontEnd: time 2.264e-06/5.089, allocations: 0 / 2.955 GB, free: 3.762 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.001139/5.09, allocations: 0 / 2.955 GB, free: 3.762 MB / 1.732 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.04841/5.139, allocations: 20.93 MB / 2.976 GB, free: 14.9 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/5.139, allocations: 8.031 kB / 2.976 GB, free: 14.89 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009312/5.148, allocations: 2.256 MB / 2.978 GB, free: 12.61 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03463/5.183, allocations: 18.08 MB / 2.996 GB, free: 10.84 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000983/5.184, allocations: 0.9727 MB / 2.997 GB, free: 9.871 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004383/5.188, allocations: 1.289 MB / 2.998 GB, free: 8.582 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03587/5.224, allocations: 14.49 MB / 3.012 GB, free: 9.426 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000414/5.225, allocations: 39.53 kB / 3.012 GB, free: 9.387 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002854/5.227, allocations: 0.5346 MB / 3.013 GB, free: 8.855 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003404/5.228, allocations: 344 kB / 3.013 GB, free: 8.52 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5973/5.825, allocations: 10.09 MB / 3.023 GB, free: 0.9444 GB / 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.09474/5.92, allocations: 74.78 MB / 3.096 GB, free: 0.8898 GB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006663/5.927, allocations: 4.571 MB / 3.1 GB, free: 0.8872 GB / 1.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/5.93, allocations: 2.43 MB / 3.103 GB, free: 0.8858 GB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07078/6, allocations: 51.51 MB / 3.153 GB, free: 0.8427 GB / 1.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/6.001, allocations: 121.4 kB / 3.153 GB, free: 0.8426 GB / 1.795 GB Notification: Performance of pre-optimization done (n=412): time 6.783e-06/6.001, allocations: 0 / 3.153 GB, free: 0.8426 GB / 1.795 GB Notification: Performance of matching and sorting (n=412): time 0.01587/6.017, allocations: 6.989 MB / 3.16 GB, free: 0.8392 GB / 1.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/6.017, allocations: 0.7905 MB / 3.161 GB, free: 0.8383 GB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02848/6.045, allocations: 16.43 MB / 3.177 GB, free: 0.8301 GB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001299/6.047, allocations: 141.5 kB / 3.177 GB, free: 0.83 GB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.008394/6.055, allocations: 8.654 MB / 3.185 GB, free: 0.8225 GB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002178/6.057, allocations: 1.457 MB / 3.187 GB, free: 0.8213 GB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002489/6.06, allocations: 1.448 MB / 3.188 GB, free: 0.8205 GB / 1.795 GB Notification: Performance of setup shared object (initialization): time 5.369e-05/6.06, allocations: 303 kB / 3.188 GB, free: 0.8202 GB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/6.063, allocations: 2.045 MB / 3.19 GB, free: 0.8192 GB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004959/6.068, allocations: 5.088 MB / 3.195 GB, free: 0.8145 GB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007608/6.075, allocations: 6.88 MB / 3.202 GB, free: 0.8092 GB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/6.075, allocations: 20 kB / 3.202 GB, free: 0.8091 GB / 1.795 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01769/6.093, allocations: 8.155 MB / 3.21 GB, free: 0.8012 GB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/6.093, allocations: 36 kB / 3.21 GB, free: 0.8012 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/6.093, allocations: 76 kB / 3.21 GB, free: 0.8011 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/6.093, allocations: 115.9 kB / 3.21 GB, free: 0.801 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004872/6.098, allocations: 1.408 MB / 3.212 GB, free: 0.7996 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001748/6.098, allocations: 159.4 kB / 3.212 GB, free: 0.7995 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01502/6.113, allocations: 1.854 MB / 3.214 GB, free: 0.7977 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001713/6.115, allocations: 383.9 kB / 3.214 GB, free: 0.7974 GB / 1.795 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.009316/6.125, allocations: 3.553 MB / 3.218 GB, free: 0.7939 GB / 1.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005939/6.131, allocations: 1.651 MB / 3.219 GB, free: 0.7923 GB / 1.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/6.146, allocations: 7.573 MB / 3.227 GB, free: 0.785 GB / 1.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002188/6.147, allocations: 83.78 kB / 3.227 GB, free: 0.785 GB / 1.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-05/6.147, allocations: 8 kB / 3.227 GB, free: 0.785 GB / 1.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004263/6.151, allocations: 3.838 MB / 3.23 GB, free: 0.7809 GB / 1.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05059/6.202, allocations: 28.71 MB / 3.258 GB, free: 0.7525 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-05/6.202, allocations: 32 kB / 3.258 GB, free: 0.7525 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/6.204, allocations: 0.7809 MB / 3.259 GB, free: 0.7517 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.059e-05/6.204, allocations: 52 kB / 3.259 GB, free: 0.7517 GB / 1.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/6.205, allocations: 155.9 kB / 3.259 GB, free: 0.7515 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.109e-05/6.205, allocations: 67.78 kB / 3.259 GB, free: 0.7514 GB / 1.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.572e-05/6.205, allocations: 51.75 kB / 3.26 GB, free: 0.7514 GB / 1.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/6.222, allocations: 11.95 MB / 3.271 GB, free: 0.7391 GB / 1.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008481/6.23, allocations: 2.848 MB / 3.274 GB, free: 0.7363 GB / 1.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004704/6.235, allocations: 151.6 kB / 3.274 GB, free: 0.7362 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01188/6.247, allocations: 0.6149 MB / 3.275 GB, free: 0.7356 GB / 1.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/6.248, allocations: 394.8 kB / 3.275 GB, free: 0.7352 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007216/6.249, allocations: 263.8 kB / 3.275 GB, free: 0.7349 GB / 1.795 GB Notification: Performance of sorting global known variables: time 0.02379/6.273, allocations: 11.7 MB / 3.287 GB, free: 0.7236 GB / 1.795 GB Notification: Performance of sort global known variables: time 3.11e-07/6.273, allocations: 0 / 3.287 GB, free: 0.7236 GB / 1.795 GB Notification: Performance of remove unused functions: time 0.01963/6.292, allocations: 5.295 MB / 3.292 GB, free: 0.7187 GB / 1.795 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.01163/6.304, allocations: 4.443 MB / 3.296 GB, free: 0.7148 GB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.009946/6.314, allocations: 5.501 MB / 3.302 GB, free: 0.7095 GB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 3.715e-05/6.314, allocations: 10.25 kB / 3.302 GB, free: 0.7094 GB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/6.318, allocations: 2.596 MB / 3.304 GB, free: 0.7069 GB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05165/6.369, allocations: 9.647 MB / 3.314 GB, free: 0.698 GB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05435/6.424, allocations: 33.85 MB / 3.347 GB, free: 0.6646 GB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01433/6.438, allocations: 7.513 MB / 3.354 GB, free: 0.6572 GB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004284/6.443, allocations: 1.116 MB / 3.355 GB, free: 0.6561 GB / 1.795 GB Notification: Performance of SimCode: time 1.222e-06/6.443, allocations: 0 / 3.355 GB, free: 0.6561 GB / 1.795 GB Notification: Performance of Templates: time 0.3658/6.808, allocations: 319.2 MB / 3.667 GB, free: 353.8 MB / 1.795 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