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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001601/0.001601, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001804/0.001804, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.179/2.179, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 62.12 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2194, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.712/2.931, allocations: 1.349 GB / 2.3 GB, free: 77.5 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 0.3403/3.272, allocations: 330.5 MB / 2.623 GB, free: 14.63 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04055/3.312, allocations: 1.161 MB / 2.624 GB, free: 13.46 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.03523/3.347, allocations: 12.96 MB / 2.636 GB, free: 440 kB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.0814/3.429, allocations: 32.18 MB / 2.668 GB, free: 140 kB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.8836/4.313, allocations: 18.86 MB / 2.686 GB, free: 22.78 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.07929/4.392, allocations: 56.59 MB / 2.741 GB, free: 22.62 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04344/4.435, allocations: 22.25 MB / 2.763 GB, free: 35.77 MB / 1.623 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05238/4.488, allocations: 24.77 MB / 2.787 GB, free: 35.45 MB / 1.623 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03323/4.521, allocations: 17.59 MB / 2.805 GB, free: 31.87 MB / 1.623 GB Notification: Performance of NFPackage.collectConstants: time 0.007667/4.529, allocations: 2.055 MB / 2.807 GB, free: 31.87 MB / 1.623 GB Notification: Performance of NFFlatten.collectFunctions: time 0.042/4.571, allocations: 17.9 MB / 2.824 GB, free: 31.85 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.008653/4.579, allocations: 4.728 MB / 2.829 GB, free: 31.13 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02216/4.602, allocations: 10.87 MB / 2.839 GB, free: 28.25 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.05976/4.661, allocations: 41.09 MB / 2.879 GB, free: 25.18 MB / 1.623 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/4.661, allocations: 3.938 kB / 2.879 GB, free: 25.18 MB / 1.623 GB Notification: Performance of FrontEnd: time 2.635e-06/4.661, allocations: 0 / 2.879 GB, free: 25.18 MB / 1.623 GB Notification: Performance of Transformations before backend: time 0.0009386/4.662, allocations: 2.812 kB / 2.879 GB, free: 25.18 MB / 1.623 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.04626/4.709, allocations: 20.34 MB / 2.899 GB, free: 16.35 MB / 1.623 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/4.709, allocations: 8.031 kB / 2.899 GB, free: 16.35 MB / 1.623 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/4.717, allocations: 2.19 MB / 2.901 GB, free: 15.28 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03683/4.754, allocations: 18.28 MB / 2.919 GB, free: 6.914 MB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009286/4.755, allocations: 0.9467 MB / 2.92 GB, free: 6.363 MB / 1.623 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004116/4.759, allocations: 1.251 MB / 2.921 GB, free: 5.516 MB / 1.623 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/4.792, allocations: 14.09 MB / 2.935 GB, free: 11.42 MB / 1.639 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004833/4.792, allocations: 39.06 kB / 2.935 GB, free: 11.41 MB / 1.639 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002418/4.795, allocations: 0.5134 MB / 2.936 GB, free: 11.28 MB / 1.639 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/4.795, allocations: 334.7 kB / 2.936 GB, free: 10.96 MB / 1.639 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01924/4.814, allocations: 9.689 MB / 2.946 GB, free: 5.074 MB / 1.639 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.09007/4.904, allocations: 72.18 MB / 3.016 GB, free: 2.551 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007532/4.912, allocations: 4.567 MB / 3.02 GB, free: 13.81 MB / 1.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/4.916, allocations: 2.445 MB / 3.023 GB, free: 11.3 MB / 1.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08296/4.999, allocations: 51.66 MB / 3.073 GB, free: 356 kB / 1.764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001686/4.999, allocations: 119.5 kB / 3.073 GB, free: 240 kB / 1.764 GB Notification: Performance of pre-optimization done (n=412): time 7.835e-06/4.999, allocations: 4 kB / 3.073 GB, free: 236 kB / 1.764 GB Notification: Performance of matching and sorting (n=412): time 0.0175/5.016, allocations: 6.954 MB / 3.08 GB, free: 9.352 MB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000311/5.017, allocations: 0.7914 MB / 3.081 GB, free: 8.391 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02938/5.046, allocations: 16.2 MB / 3.097 GB, free: 8.328 MB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001445/5.048, allocations: 141.7 kB / 3.097 GB, free: 8.184 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.008159/5.056, allocations: 8.208 MB / 3.105 GB, free: 15.96 MB / 1.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.002049/5.058, allocations: 1.462 MB / 3.106 GB, free: 14.52 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002305/5.06, allocations: 1.412 MB / 3.108 GB, free: 13.09 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 8.334e-05/5.06, allocations: 313 kB / 3.108 GB, free: 12.79 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/5.063, allocations: 2.007 MB / 3.11 GB, free: 10.77 MB / 1.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/5.069, allocations: 4.929 MB / 3.115 GB, free: 4.68 MB / 1.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008191/5.077, allocations: 6.682 MB / 3.121 GB, free: 13.36 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.513e-05/5.077, allocations: 20 kB / 3.121 GB, free: 13.34 MB / 1.826 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01566/5.093, allocations: 7.961 MB / 3.129 GB, free: 5.832 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 5.789e-05/5.093, allocations: 36 kB / 3.129 GB, free: 5.797 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-05/5.093, allocations: 72 kB / 3.129 GB, free: 5.727 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001041/5.093, allocations: 108 kB / 3.129 GB, free: 5.621 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/5.097, allocations: 1.373 MB / 3.131 GB, free: 4.352 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001348/5.098, allocations: 149.6 kB / 3.131 GB, free: 4.234 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01059/5.108, allocations: 1.234 MB / 3.132 GB, free: 2.992 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001563/5.11, allocations: 371.8 kB / 3.132 GB, free: 2.629 MB / 1.826 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.00898/5.119, allocations: 3.404 MB / 3.136 GB, free: 15.32 MB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00558/5.124, allocations: 1.617 MB / 3.137 GB, free: 13.68 MB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/5.14, allocations: 7.525 MB / 3.145 GB, free: 6.379 MB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000169/5.14, allocations: 86.47 kB / 3.145 GB, free: 6.297 MB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-05/5.14, allocations: 8 kB / 3.145 GB, free: 6.289 MB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004271/5.144, allocations: 3.848 MB / 3.148 GB, free: 2.141 MB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04921/5.193, allocations: 28.47 MB / 3.176 GB, free: 5.551 MB / 1.873 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.075e-05/5.193, allocations: 36 kB / 3.176 GB, free: 5.516 MB / 1.873 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/5.196, allocations: 0.772 MB / 3.177 GB, free: 4.793 MB / 1.873 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-05/5.196, allocations: 52 kB / 3.177 GB, free: 4.742 MB / 1.873 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003296/5.197, allocations: 152 kB / 3.177 GB, free: 4.594 MB / 1.873 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.037e-05/5.197, allocations: 69.66 kB / 3.177 GB, free: 4.539 MB / 1.873 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-05/5.197, allocations: 52.59 kB / 3.177 GB, free: 4.5 MB / 1.873 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/5.214, allocations: 11.91 MB / 3.189 GB, free: 8.035 MB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008002/5.222, allocations: 2.825 MB / 3.192 GB, free: 5.168 MB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004034/5.226, allocations: 151.7 kB / 3.192 GB, free: 5.02 MB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007903/5.234, allocations: 215.2 kB / 3.192 GB, free: 4.812 MB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006168/5.234, allocations: 398 kB / 3.193 GB, free: 4.449 MB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005735/5.235, allocations: 259.8 kB / 3.193 GB, free: 4.195 MB / 1.889 GB Notification: Performance of sorting global known variables: time 0.02196/5.257, allocations: 11.55 MB / 3.204 GB, free: 8.73 MB / 1.904 GB Notification: Performance of sort global known variables: time 7.71e-07/5.257, allocations: 3.938 kB / 3.204 GB, free: 8.727 MB / 1.904 GB Notification: Performance of remove unused functions: time 0.01825/5.275, allocations: 5.277 MB / 3.209 GB, free: 3.441 MB / 1.904 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.01132/5.286, allocations: 4.543 MB / 3.214 GB, free: 15.38 MB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.01008/5.297, allocations: 5.508 MB / 3.219 GB, free: 10.16 MB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 2.902e-05/5.297, allocations: 4 kB / 3.219 GB, free: 10.16 MB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.004184/5.301, allocations: 2.58 MB / 3.222 GB, free: 7.742 MB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04651/5.347, allocations: 9.948 MB / 3.231 GB, free: 14.2 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04533/5.393, allocations: 27.4 MB / 3.258 GB, free: 2.461 MB / 1.951 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009985/5.403, allocations: 7.419 MB / 3.265 GB, free: 11.01 MB / 1.967 GB Notification: Performance of simCode: alias equations: time 0.01273/5.415, allocations: 3.158 MB / 3.268 GB, free: 7.934 MB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003053/5.419, allocations: 1.045 MB / 3.269 GB, free: 6.895 MB / 1.967 GB Notification: Performance of SimCode: time 1.102e-06/5.419, allocations: 4 kB / 3.269 GB, free: 6.891 MB / 1.967 GB Notification: Performance of Templates: time 1.321/6.74, allocations: 352 MB / 3.613 GB, free: 1.086 GB / 2.076 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 -s gbode -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/jenkins1/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