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.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002048/0.002049, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.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.616/2.616, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.89 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8796, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 4.097/4.977, allocations: 1.36 GB / 2.377 GB, free: 92.4 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3762/5.353, allocations: 334.6 MB / 2.704 GB, free: 39.57 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0645/5.417, allocations: 1.121 MB / 2.705 GB, free: 38.91 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.04642/5.464, allocations: 10.88 MB / 2.715 GB, free: 28.68 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.1195/5.583, allocations: 29.45 MB / 2.744 GB, free: 3.781 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.06426/5.648, allocations: 18.05 MB / 2.762 GB, free: 3.723 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.109/5.757, allocations: 75.9 MB / 2.836 GB, free: 9.332 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05344/5.81, allocations: 18.98 MB / 2.854 GB, free: 6.469 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.063/5.873, allocations: 20.95 MB / 2.875 GB, free: 2.531 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0393/5.913, allocations: 17.71 MB / 2.892 GB, free: 1.984 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01056/5.923, allocations: 0.9023 MB / 2.893 GB, free: 1.082 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05374/5.977, allocations: 15.85 MB / 2.908 GB, free: 1.941 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01048/5.988, allocations: 3.687 MB / 2.912 GB, free: 14.31 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02961/6.017, allocations: 9.863 MB / 2.922 GB, free: 4.469 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.0846/6.102, allocations: 41.03 MB / 2.962 GB, free: 12.73 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/6.102, allocations: 0 / 2.962 GB, free: 12.73 MB / 1.748 GB Notification: Performance of FrontEnd: time 1.543e-06/6.102, allocations: 4 kB / 2.962 GB, free: 12.73 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001437/6.103, allocations: 0 / 2.962 GB, free: 12.73 MB / 1.748 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.06862/6.172, allocations: 20.93 MB / 2.982 GB, free: 7.863 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 7.857e-05/6.172, allocations: 8.031 kB / 2.982 GB, free: 7.855 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/6.184, allocations: 2.251 MB / 2.984 GB, free: 5.582 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04374/6.228, allocations: 18.07 MB / 3.002 GB, free: 3.816 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/6.229, allocations: 0.97 MB / 3.003 GB, free: 2.844 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004671/6.234, allocations: 1.288 MB / 3.004 GB, free: 1.559 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/6.28, allocations: 14.48 MB / 3.018 GB, free: 2.406 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005113/6.281, allocations: 51.47 kB / 3.018 GB, free: 2.355 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003308/6.284, allocations: 0.5386 MB / 3.019 GB, free: 1.82 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003738/6.284, allocations: 344 kB / 3.019 GB, free: 1.484 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6702/6.954, allocations: 10.08 MB / 3.029 GB, free: 0.9453 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.09983/7.054, allocations: 74.78 MB / 3.102 GB, free: 0.889 GB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006896/7.061, allocations: 4.582 MB / 3.107 GB, free: 0.8864 GB / 1.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00348/7.065, allocations: 2.438 MB / 3.109 GB, free: 0.8851 GB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07295/7.138, allocations: 51.5 MB / 3.159 GB, free: 0.842 GB / 1.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/7.138, allocations: 125.9 kB / 3.159 GB, free: 0.8419 GB / 1.795 GB Notification: Performance of pre-optimization done (n=412): time 2.046e-05/7.138, allocations: 1.75 kB / 3.159 GB, free: 0.8419 GB / 1.795 GB Notification: Performance of matching and sorting (n=412): time 0.01846/7.157, allocations: 6.983 MB / 3.166 GB, free: 0.8385 GB / 1.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/7.157, allocations: 0.7858 MB / 3.167 GB, free: 0.8376 GB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04304/7.2, allocations: 16.44 MB / 3.183 GB, free: 0.8294 GB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001542/7.202, allocations: 145.8 kB / 3.183 GB, free: 0.8293 GB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.008679/7.21, allocations: 8.648 MB / 3.192 GB, free: 0.8215 GB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002084/7.212, allocations: 1.454 MB / 3.193 GB, free: 0.8201 GB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002411/7.215, allocations: 1.448 MB / 3.195 GB, free: 0.8187 GB / 1.795 GB Notification: Performance of setup shared object (initialization): time 6.4e-05/7.215, allocations: 308.5 kB / 3.195 GB, free: 0.8184 GB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002765/7.218, allocations: 2.043 MB / 3.197 GB, free: 0.8164 GB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00497/7.223, allocations: 5.091 MB / 3.202 GB, free: 0.8102 GB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/7.23, allocations: 6.875 MB / 3.209 GB, free: 0.8027 GB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.148e-05/7.23, allocations: 20 kB / 3.209 GB, free: 0.8027 GB / 1.795 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01764/7.248, allocations: 8.159 MB / 3.217 GB, free: 0.7948 GB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/7.248, allocations: 36 kB / 3.217 GB, free: 0.7947 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001241/7.248, allocations: 76 kB / 3.217 GB, free: 0.7947 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/7.248, allocations: 115.9 kB / 3.217 GB, free: 0.7946 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004766/7.253, allocations: 1.404 MB / 3.218 GB, free: 0.7932 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001703/7.253, allocations: 159.4 kB / 3.218 GB, free: 0.793 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01524/7.268, allocations: 1.856 MB / 3.22 GB, free: 0.7913 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/7.27, allocations: 383.9 kB / 3.22 GB, free: 0.7909 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.009452/7.28, allocations: 3.548 MB / 3.224 GB, free: 0.7874 GB / 1.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005794/7.285, allocations: 1.651 MB / 3.226 GB, free: 0.7858 GB / 1.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/7.301, allocations: 7.573 MB / 3.233 GB, free: 0.7786 GB / 1.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002018/7.301, allocations: 91.81 kB / 3.233 GB, free: 0.7785 GB / 1.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.442e-05/7.302, allocations: 8 kB / 3.233 GB, free: 0.7785 GB / 1.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004363/7.306, allocations: 3.826 MB / 3.237 GB, free: 0.7744 GB / 1.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05258/7.359, allocations: 28.72 MB / 3.265 GB, free: 0.746 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000143/7.359, allocations: 28 kB / 3.265 GB, free: 0.746 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/7.362, allocations: 0.7761 MB / 3.266 GB, free: 0.7452 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.929e-05/7.362, allocations: 52 kB / 3.266 GB, free: 0.7452 GB / 1.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008821/7.363, allocations: 155.9 kB / 3.266 GB, free: 0.745 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.493e-05/7.363, allocations: 64.14 kB / 3.266 GB, free: 0.745 GB / 1.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-05/7.363, allocations: 59.73 kB / 3.266 GB, free: 0.7449 GB / 1.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/7.382, allocations: 11.95 MB / 3.278 GB, free: 0.7327 GB / 1.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01003/7.393, allocations: 2.852 MB / 3.28 GB, free: 0.7298 GB / 1.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005813/7.398, allocations: 154.6 kB / 3.28 GB, free: 0.7297 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01175/7.41, allocations: 0.6111 MB / 3.281 GB, free: 0.7291 GB / 1.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001119/7.411, allocations: 402.7 kB / 3.281 GB, free: 0.7287 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00115/7.413, allocations: 259.8 kB / 3.282 GB, free: 0.7285 GB / 1.795 GB Notification: Performance of sorting global known variables: time 0.02168/7.434, allocations: 11.7 MB / 3.293 GB, free: 0.7171 GB / 1.795 GB Notification: Performance of sort global known variables: time 5.81e-07/7.434, allocations: 0 / 3.293 GB, free: 0.7171 GB / 1.795 GB Notification: Performance of remove unused functions: time 0.0212/7.455, allocations: 5.289 MB / 3.298 GB, free: 0.7122 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.01298/7.468, allocations: 4.439 MB / 3.303 GB, free: 0.7083 GB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.01028/7.479, allocations: 5.503 MB / 3.308 GB, free: 0.703 GB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 4.136e-05/7.479, allocations: 14.31 kB / 3.308 GB, free: 0.703 GB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0043/7.483, allocations: 2.592 MB / 3.311 GB, free: 0.7005 GB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05323/7.536, allocations: 9.639 MB / 3.32 GB, free: 0.6916 GB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0497/7.586, allocations: 34.06 MB / 3.353 GB, free: 0.6579 GB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01212/7.598, allocations: 7.775 MB / 3.361 GB, free: 0.6503 GB / 1.795 GB Notification: Performance of simCode: alias equations: time 0.01562/7.614, allocations: 3.228 MB / 3.364 GB, free: 0.6473 GB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003808/7.618, allocations: 1.073 MB / 3.365 GB, free: 0.6463 GB / 1.795 GB Notification: Performance of SimCode: time 1.403e-06/7.618, allocations: 3.938 kB / 3.365 GB, free: 0.6462 GB / 1.795 GB Notification: Performance of Templates: time 0.4339/8.052, allocations: 345.3 MB / 3.702 GB, free: 318.9 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/jenkins/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