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.001981/0.001981, allocations: 105.5 kB / 16.27 MB, free: 5.984 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.002468/0.002469, allocations: 193.3 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.653/2.653, allocations: 222.9 MB / 240.9 MB, free: 15.02 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 3.977/3.977, allocations: 437.1 MB / 0.7111 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002636/0.002636, allocations: 71.86 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.5011, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 5.201/5.702, allocations: 1.37 GB / 2.388 GB, free: 80.75 MB / 1.436 GB Notification: Performance of NFInst.instExpressions: time 0.5882/6.291, allocations: 334.1 MB / 2.714 GB, free: 12.93 MB / 1.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07679/6.368, allocations: 1.223 MB / 2.715 GB, free: 11.7 MB / 1.67 GB Notification: Performance of NFTyping.typeComponents: time 1.745/8.113, allocations: 13.24 MB / 2.728 GB, free: 8.059 MB / 1.67 GB Notification: Performance of NFTyping.typeBindings: time 0.1742/8.287, allocations: 32.23 MB / 2.76 GB, free: 7.859 MB / 1.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.09/8.377, allocations: 19.64 MB / 2.779 GB, free: 7.621 MB / 1.67 GB Notification: Performance of NFFlatten.flatten: time 0.1432/8.52, allocations: 58.13 MB / 2.836 GB, free: 23.35 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08235/8.603, allocations: 23.36 MB / 2.858 GB, free: 20.09 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09465/8.698, allocations: 24.89 MB / 2.883 GB, free: 19.14 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06485/8.763, allocations: 17.73 MB / 2.9 GB, free: 15.5 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.01426/8.777, allocations: 2.129 MB / 2.902 GB, free: 15.5 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0887/8.866, allocations: 17.81 MB / 2.919 GB, free: 15.49 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01718/8.883, allocations: 4.883 MB / 2.924 GB, free: 14.75 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.04678/8.93, allocations: 11.17 MB / 2.935 GB, free: 11.79 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.1397/9.07, allocations: 42.05 MB / 2.976 GB, free: 0 / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/9.07, allocations: 192 / 2.976 GB, free: 0 / 1.686 GB Notification: Performance of FrontEnd: time 3.356e-06/9.07, allocations: 64 / 2.976 GB, free: 0 / 1.686 GB Notification: Performance of Transformations before backend: time 0.001615/9.071, allocations: 64 / 2.976 GB, free: 0 / 1.686 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.09616/9.167, allocations: 20.94 MB / 2.997 GB, free: 15.65 MB / 1.717 GB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/9.168, allocations: 12.92 kB / 2.997 GB, free: 15.64 MB / 1.717 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/9.183, allocations: 2.252 MB / 2.999 GB, free: 13.37 MB / 1.717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06919/9.252, allocations: 17.71 MB / 3.016 GB, free: 2.672 MB / 1.717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002016/9.254, allocations: 0.9753 MB / 3.017 GB, free: 2.105 MB / 1.717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007761/9.262, allocations: 1.285 MB / 3.018 GB, free: 1.234 MB / 1.717 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05873/9.32, allocations: 14.61 MB / 3.033 GB, free: 6.785 MB / 1.732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007982/9.321, allocations: 50.39 kB / 3.033 GB, free: 6.758 MB / 1.732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005725/9.327, allocations: 0.5373 MB / 3.033 GB, free: 6.223 MB / 1.732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005456/9.328, allocations: 343.1 kB / 3.034 GB, free: 5.891 MB / 1.732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03093/9.359, allocations: 10.1 MB / 3.043 GB, free: 12.03 MB / 1.748 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.1776/9.536, allocations: 77.16 MB / 3.119 GB, free: 12.14 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009723/9.546, allocations: 4.551 MB / 3.123 GB, free: 7.414 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005544/9.552, allocations: 2.443 MB / 3.126 GB, free: 4.906 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1163/9.668, allocations: 51.51 MB / 3.176 GB, free: 10.09 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/9.668, allocations: 129.2 kB / 3.176 GB, free: 9.969 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 7.484e-06/9.668, allocations: 0 / 3.176 GB, free: 9.969 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.02583/9.694, allocations: 6.993 MB / 3.183 GB, free: 3.047 MB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006407/9.695, allocations: 0.7845 MB / 3.184 GB, free: 2.09 MB / 1.889 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06396/9.759, allocations: 16.68 MB / 3.2 GB, free: 1.508 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.002228/9.761, allocations: 145.7 kB / 3.2 GB, free: 1.359 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.0236/9.785, allocations: 8.704 MB / 3.209 GB, free: 8.727 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.005067/9.79, allocations: 1.466 MB / 3.21 GB, free: 7.273 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007503/9.798, allocations: 1.487 MB / 3.211 GB, free: 5.773 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001876/9.798, allocations: 306.7 kB / 3.212 GB, free: 5.473 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007323/9.805, allocations: 2.082 MB / 3.214 GB, free: 3.387 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/9.818, allocations: 5.281 MB / 3.219 GB, free: 12.81 MB / 1.936 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/9.837, allocations: 7.125 MB / 3.226 GB, free: 4.938 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/9.837, allocations: 24 kB / 3.226 GB, free: 4.914 MB / 1.936 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03853/9.875, allocations: 8.367 MB / 3.234 GB, free: 13.07 MB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001449/9.876, allocations: 40 kB / 3.234 GB, free: 13.03 MB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/9.876, allocations: 80 kB / 3.234 GB, free: 12.95 MB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000278/9.876, allocations: 120 kB / 3.234 GB, free: 12.83 MB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009886/9.886, allocations: 1.458 MB / 3.236 GB, free: 11.48 MB / 1.951 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005063/9.887, allocations: 166.7 kB / 3.236 GB, free: 11.36 MB / 1.951 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02322/9.91, allocations: 1.343 MB / 3.237 GB, free: 10.01 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003153/9.913, allocations: 403.9 kB / 3.238 GB, free: 9.613 MB / 1.951 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.01955/9.933, allocations: 3.57 MB / 3.241 GB, free: 6.141 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01089/9.944, allocations: 1.659 MB / 3.243 GB, free: 4.461 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03136/9.975, allocations: 7.578 MB / 3.25 GB, free: 13.08 MB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004177/9.976, allocations: 83.94 kB / 3.25 GB, free: 13 MB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.291e-05/9.976, allocations: 8 kB / 3.25 GB, free: 12.99 MB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009457/9.985, allocations: 3.858 MB / 3.254 GB, free: 8.836 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09609/10.08, allocations: 28.82 MB / 3.282 GB, free: 11.9 MB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001636/10.08, allocations: 28 kB / 3.282 GB, free: 11.87 MB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005045/10.09, allocations: 0.7842 MB / 3.283 GB, free: 11.14 MB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/10.09, allocations: 48 kB / 3.283 GB, free: 11.09 MB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001249/10.09, allocations: 152 kB / 3.283 GB, free: 10.94 MB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001104/10.09, allocations: 76.09 kB / 3.283 GB, free: 10.88 MB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.945e-05/10.09, allocations: 53.06 kB / 3.283 GB, free: 10.84 MB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03687/10.13, allocations: 11.96 MB / 3.295 GB, free: 14.32 MB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01547/10.14, allocations: 2.86 MB / 3.298 GB, free: 11.42 MB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008412/10.15, allocations: 151.7 kB / 3.298 GB, free: 11.27 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0147/10.16, allocations: 263 kB / 3.298 GB, free: 11.02 MB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002175/10.17, allocations: 396.1 kB / 3.298 GB, free: 10.66 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002042/10.17, allocations: 263.8 kB / 3.299 GB, free: 10.4 MB / 2.014 GB Notification: Performance of sorting global known variables: time 0.05021/10.22, allocations: 11.85 MB / 3.31 GB, free: 14.64 MB / 2.029 GB Notification: Performance of sort global known variables: time 6.21e-07/10.22, allocations: 0 / 3.31 GB, free: 14.64 MB / 2.029 GB Notification: Performance of remove unused functions: time 0.03185/10.25, allocations: 5.355 MB / 3.315 GB, free: 9.281 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 ($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.01891/10.27, allocations: 4.533 MB / 3.32 GB, free: 5.215 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01994/10.29, allocations: 5.944 MB / 3.326 GB, free: 15.63 MB / 2.045 GB Notification: Performance of simCode: created event and clocks part: time 7.663e-05/10.29, allocations: 11.91 kB / 3.326 GB, free: 15.62 MB / 2.045 GB Notification: Performance of simCode: created simulation system equations: time 0.006437/10.3, allocations: 2.583 MB / 3.328 GB, free: 13.2 MB / 2.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0986/10.39, allocations: 10.08 MB / 3.338 GB, free: 3.547 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09985/10.49, allocations: 28.51 MB / 3.366 GB, free: 6.707 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02231/10.52, allocations: 7.511 MB / 3.373 GB, free: 15.16 MB / 2.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004945/10.52, allocations: 1.12 MB / 3.374 GB, free: 14.04 MB / 2.092 GB Notification: Performance of SimCode: time 1.703e-06/10.52, allocations: 6.281 kB / 3.374 GB, free: 14.03 MB / 2.092 GB Notification: Performance of Templates: time 2.239/12.76, allocations: 321 MB / 3.688 GB, free: 1.152 GB / 2.186 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