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.001584/0.001584, allocations: 108 kB / 15.61 MB, free: 152 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.00181/0.00181, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.523/2.523, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6086, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.313/3.922, allocations: 1.37 GB / 2.387 GB, free: 99.02 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3787/4.301, allocations: 334.1 MB / 2.713 GB, free: 41.25 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05281/4.354, allocations: 1.224 MB / 2.715 GB, free: 40.48 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.03773/4.391, allocations: 13.25 MB / 2.727 GB, free: 28.96 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.09586/4.487, allocations: 32.23 MB / 2.759 GB, free: 1.262 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.05184/4.539, allocations: 19.64 MB / 2.778 GB, free: 15.6 MB / 1.561 GB Notification: Performance of NFFlatten.flatten: time 0.07939/4.619, allocations: 58.15 MB / 2.835 GB, free: 6.996 MB / 1.607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05069/4.669, allocations: 23.36 MB / 2.858 GB, free: 15.75 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05926/4.729, allocations: 24.89 MB / 2.882 GB, free: 8.297 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03422/4.763, allocations: 17.73 MB / 2.899 GB, free: 7.719 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009701/4.773, allocations: 2.129 MB / 2.901 GB, free: 5.59 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05513/4.828, allocations: 17.81 MB / 2.919 GB, free: 4.488 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01083/4.839, allocations: 4.893 MB / 2.924 GB, free: 15.65 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.02668/4.865, allocations: 11.17 MB / 2.934 GB, free: 4.504 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.0794/4.945, allocations: 41.73 MB / 2.975 GB, free: 12.05 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/4.945, allocations: 0 / 2.975 GB, free: 12.05 MB / 1.748 GB Notification: Performance of FrontEnd: time 2.675e-06/4.945, allocations: 0 / 2.975 GB, free: 12.05 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001244/4.946, allocations: 0 / 2.975 GB, free: 12.05 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.05114/4.997, allocations: 20.94 MB / 2.996 GB, free: 7.188 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/4.997, allocations: 12.03 kB / 2.996 GB, free: 7.176 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/5.007, allocations: 2.251 MB / 2.998 GB, free: 4.902 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0378/5.045, allocations: 17.7 MB / 3.015 GB, free: 3.488 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/5.046, allocations: 0.9773 MB / 3.016 GB, free: 2.512 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/5.05, allocations: 1.285 MB / 3.017 GB, free: 1.227 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6093/5.659, allocations: 14.61 MB / 3.032 GB, free: 0.9272 GB / 1.779 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008414/5.66, allocations: 49.52 kB / 3.032 GB, free: 0.9272 GB / 1.779 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003895/5.664, allocations: 0.5377 MB / 3.032 GB, free: 0.9268 GB / 1.779 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/5.665, allocations: 339.6 kB / 3.033 GB, free: 0.9268 GB / 1.779 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/5.691, allocations: 10.1 MB / 3.042 GB, free: 0.9229 GB / 1.779 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.09087/5.782, allocations: 77.16 MB / 3.118 GB, free: 0.8634 GB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006447/5.788, allocations: 4.567 MB / 3.122 GB, free: 0.8608 GB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/5.791, allocations: 2.436 MB / 3.125 GB, free: 0.8594 GB / 1.779 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07803/5.869, allocations: 51.51 MB / 3.175 GB, free: 0.8163 GB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/5.869, allocations: 115.5 kB / 3.175 GB, free: 0.8162 GB / 1.779 GB Notification: Performance of pre-optimization done (n=412): time 2.159e-05/5.869, allocations: 1 kB / 3.175 GB, free: 0.8162 GB / 1.779 GB Notification: Performance of matching and sorting (n=412): time 0.01724/5.887, allocations: 7 MB / 3.182 GB, free: 0.8128 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/5.887, allocations: 0.7887 MB / 3.183 GB, free: 0.8119 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03684/5.924, allocations: 16.68 MB / 3.199 GB, free: 0.7971 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.00182/5.926, allocations: 145.7 kB / 3.199 GB, free: 0.797 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01241/5.938, allocations: 8.689 MB / 3.208 GB, free: 0.7885 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.00239/5.941, allocations: 1.469 MB / 3.209 GB, free: 0.787 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002451/5.943, allocations: 1.487 MB / 3.21 GB, free: 0.7856 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/5.943, allocations: 304.7 kB / 3.211 GB, free: 0.7853 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/5.946, allocations: 2.078 MB / 3.213 GB, free: 0.7833 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004735/5.951, allocations: 5.286 MB / 3.218 GB, free: 0.7769 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007319/5.958, allocations: 7.128 MB / 3.225 GB, free: 0.7689 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-05/5.958, allocations: 27.94 kB / 3.225 GB, free: 0.7689 GB / 1.779 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01619/5.974, allocations: 8.364 MB / 3.233 GB, free: 0.7607 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/5.974, allocations: 40 kB / 3.233 GB, free: 0.7607 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.791e-05/5.974, allocations: 80 kB / 3.233 GB, free: 0.7606 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.932e-05/5.975, allocations: 116 kB / 3.233 GB, free: 0.7605 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/5.979, allocations: 1.455 MB / 3.235 GB, free: 0.759 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/5.979, allocations: 179.1 kB / 3.235 GB, free: 0.7589 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/5.99, allocations: 1.34 MB / 3.236 GB, free: 0.7576 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001339/5.992, allocations: 387.9 kB / 3.237 GB, free: 0.7572 GB / 1.779 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.007449/5.999, allocations: 3.578 MB / 3.24 GB, free: 0.7537 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005354/6.004, allocations: 1.663 MB / 3.242 GB, free: 0.752 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/6.018, allocations: 7.581 MB / 3.249 GB, free: 0.7448 GB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/6.018, allocations: 79.89 kB / 3.249 GB, free: 0.7447 GB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/6.018, allocations: 11.94 kB / 3.249 GB, free: 0.7447 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003242/6.022, allocations: 3.84 MB / 3.253 GB, free: 0.7406 GB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04214/6.064, allocations: 28.83 MB / 3.281 GB, free: 0.7121 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/6.064, allocations: 36 kB / 3.281 GB, free: 0.7121 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/6.066, allocations: 0.7729 MB / 3.282 GB, free: 0.7114 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-05/6.066, allocations: 56 kB / 3.282 GB, free: 0.7113 GB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/6.067, allocations: 155.9 kB / 3.282 GB, free: 0.7112 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.528e-05/6.067, allocations: 71.78 kB / 3.282 GB, free: 0.7111 GB / 1.779 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.657e-05/6.067, allocations: 43.81 kB / 3.282 GB, free: 0.711 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/6.08, allocations: 11.95 MB / 3.294 GB, free: 0.6988 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00733/6.088, allocations: 2.86 MB / 3.297 GB, free: 0.696 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004178/6.092, allocations: 155.6 kB / 3.297 GB, free: 0.6958 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008776/6.101, allocations: 258.4 kB / 3.297 GB, free: 0.6956 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005947/6.101, allocations: 402.7 kB / 3.297 GB, free: 0.6952 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006753/6.102, allocations: 259.8 kB / 3.298 GB, free: 0.6949 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02352/6.126, allocations: 11.85 MB / 3.309 GB, free: 0.6835 GB / 1.779 GB Notification: Performance of sort global known variables: time 2.91e-07/6.126, allocations: 0 / 3.309 GB, free: 0.6835 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.02229/6.148, allocations: 5.362 MB / 3.314 GB, free: 0.6785 GB / 1.779 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.01153/6.159, allocations: 4.531 MB / 3.319 GB, free: 0.6745 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.01057/6.17, allocations: 5.945 MB / 3.325 GB, free: 0.6687 GB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 4.513e-05/6.17, allocations: 10.25 kB / 3.325 GB, free: 0.6687 GB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/6.174, allocations: 2.591 MB / 3.327 GB, free: 0.6662 GB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05239/6.227, allocations: 10.09 MB / 3.337 GB, free: 0.6572 GB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04513/6.272, allocations: 28.72 MB / 3.365 GB, free: 0.6287 GB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01148/6.283, allocations: 7.775 MB / 3.373 GB, free: 0.6211 GB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.01616/6.299, allocations: 3.255 MB / 3.376 GB, free: 0.618 GB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003669/6.303, allocations: 1.081 MB / 3.377 GB, free: 0.617 GB / 1.779 GB Notification: Performance of SimCode: time 1.593e-06/6.303, allocations: 0 / 3.377 GB, free: 0.617 GB / 1.779 GB Notification: Performance of Templates: time 0.443/6.746, allocations: 358.5 MB / 3.727 GB, free: 276 MB / 1.779 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