Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.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_11_Buildings.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.001565/0.001565, allocations: 108.6 kB / 15.99 MB, free: 6.367 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.001521/0.001521, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.571/2.571, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 65.08 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2895, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.077/3.366, allocations: 1.356 GB / 2.42 GB, free: 83.19 MB / 1.482 GB Notification: Performance of NFInst.instExpressions: time 0.3868/3.753, allocations: 331.1 MB / 2.744 GB, free: 1.457 MB / 1.686 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04397/3.797, allocations: 1.118 MB / 2.745 GB, free: 340 kB / 1.686 GB Notification: Performance of NFTyping.typeComponents: time 0.03846/3.836, allocations: 11.55 MB / 2.756 GB, free: 4.715 MB / 1.701 GB Notification: Performance of NFTyping.typeBindings: time 1.046/4.881, allocations: 29.96 MB / 2.785 GB, free: 18.23 MB / 1.717 GB Notification: Performance of NFTyping.typeClassSections: time 0.04381/4.925, allocations: 18.25 MB / 2.803 GB, free: 18.07 MB / 1.717 GB Notification: Performance of NFFlatten.flatten: time 0.08081/5.006, allocations: 58.43 MB / 2.86 GB, free: 17.8 MB / 1.717 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0448/5.051, allocations: 23 MB / 2.883 GB, free: 30.6 MB / 1.732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05923/5.11, allocations: 24.99 MB / 2.907 GB, free: 30.14 MB / 1.732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03273/5.143, allocations: 18.28 MB / 2.925 GB, free: 26.49 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.007584/5.151, allocations: 2.128 MB / 2.927 GB, free: 26.49 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04387/5.194, allocations: 18.03 MB / 2.945 GB, free: 26.48 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.009769/5.204, allocations: 4.904 MB / 2.949 GB, free: 25.75 MB / 1.732 GB Notification: Performance of NFVerifyModel.verify: time 0.02396/5.228, allocations: 11.18 MB / 2.96 GB, free: 22.79 MB / 1.732 GB Notification: Performance of NFConvertDAE.convert: time 0.04765/5.276, allocations: 32.94 MB / 2.992 GB, free: 21.68 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/5.276, allocations: 0 / 2.992 GB, free: 21.68 MB / 1.732 GB Notification: Performance of FrontEnd: time 1.543e-06/5.276, allocations: 4 kB / 2.992 GB, free: 21.68 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.00111/5.277, allocations: 0 / 2.992 GB, free: 21.68 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.04845/5.326, allocations: 20.91 MB / 3.013 GB, free: 13.08 MB / 1.732 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/5.326, allocations: 9 kB / 3.013 GB, free: 13.08 MB / 1.732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009489/5.335, allocations: 2.256 MB / 3.015 GB, free: 11.98 MB / 1.732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03478/5.37, allocations: 18.02 MB / 3.033 GB, free: 5.477 MB / 1.732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008872/5.371, allocations: 0.9736 MB / 3.034 GB, free: 5.449 MB / 1.732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004282/5.375, allocations: 1.289 MB / 3.035 GB, free: 5.168 MB / 1.732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03783/5.413, allocations: 14.5 MB / 3.049 GB, free: 10.96 MB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/5.413, allocations: 45.28 kB / 3.049 GB, free: 10.94 MB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002514/5.416, allocations: 0.5339 MB / 3.05 GB, free: 10.8 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004064/5.416, allocations: 343.2 kB / 3.05 GB, free: 10.48 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/5.439, allocations: 10.09 MB / 3.06 GB, free: 4.324 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.102/5.541, allocations: 74.72 MB / 3.133 GB, free: 15.84 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008126/5.549, allocations: 4.569 MB / 3.137 GB, free: 11.1 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004049/5.553, allocations: 2.431 MB / 3.14 GB, free: 8.602 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08851/5.642, allocations: 51.49 MB / 3.19 GB, free: 13.8 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/5.642, allocations: 127.9 kB / 3.19 GB, free: 13.68 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 7.163e-06/5.642, allocations: 0 / 3.19 GB, free: 13.68 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01696/5.659, allocations: 6.987 MB / 3.197 GB, free: 6.762 MB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004133/5.66, allocations: 0.7988 MB / 3.198 GB, free: 5.797 MB / 1.889 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03333/5.693, allocations: 16.44 MB / 3.214 GB, free: 5.453 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/5.694, allocations: 141.7 kB / 3.214 GB, free: 5.309 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01051/5.705, allocations: 8.655 MB / 3.222 GB, free: 12.76 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002514/5.707, allocations: 1.464 MB / 3.224 GB, free: 11.31 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002832/5.71, allocations: 1.444 MB / 3.225 GB, free: 9.852 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001195/5.71, allocations: 301.1 kB / 3.225 GB, free: 9.555 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003497/5.714, allocations: 2.043 MB / 3.227 GB, free: 7.508 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006807/5.721, allocations: 5.092 MB / 3.232 GB, free: 1.199 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00971/5.73, allocations: 6.888 MB / 3.239 GB, free: 9.629 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.266e-05/5.73, allocations: 20 kB / 3.239 GB, free: 9.609 MB / 1.936 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01834/5.749, allocations: 8.164 MB / 3.247 GB, free: 1.934 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-05/5.749, allocations: 36 kB / 3.247 GB, free: 1.898 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/5.749, allocations: 76 kB / 3.247 GB, free: 1.824 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001377/5.749, allocations: 112 kB / 3.247 GB, free: 1.715 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00479/5.754, allocations: 1.414 MB / 3.249 GB, free: 416 kB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001531/5.754, allocations: 156.4 kB / 3.249 GB, free: 292 kB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01376/5.768, allocations: 1.837 MB / 3.251 GB, free: 14.44 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/5.77, allocations: 383.9 kB / 3.251 GB, free: 14.06 MB / 1.951 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.009774/5.779, allocations: 3.553 MB / 3.254 GB, free: 10.6 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005874/5.785, allocations: 1.655 MB / 3.256 GB, free: 8.926 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/5.802, allocations: 7.554 MB / 3.263 GB, free: 1.555 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00018/5.803, allocations: 79.94 kB / 3.264 GB, free: 1.477 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.453e-05/5.803, allocations: 8 kB / 3.264 GB, free: 1.469 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005115/5.808, allocations: 3.853 MB / 3.267 GB, free: 13.32 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05743/5.865, allocations: 28.68 MB / 3.295 GB, free: 0.5078 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.763e-05/5.865, allocations: 28 kB / 3.295 GB, free: 492 kB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/5.868, allocations: 0.7781 MB / 3.296 GB, free: 15.75 MB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.623e-05/5.868, allocations: 52 kB / 3.296 GB, free: 15.7 MB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003607/5.869, allocations: 155.9 kB / 3.296 GB, free: 15.55 MB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.418e-05/5.869, allocations: 71.91 kB / 3.296 GB, free: 15.5 MB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.862e-05/5.869, allocations: 48.75 kB / 3.296 GB, free: 15.46 MB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/5.888, allocations: 11.94 MB / 3.308 GB, free: 2.953 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009157/5.897, allocations: 2.833 MB / 3.311 GB, free: 80 kB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004904/5.902, allocations: 155.6 kB / 3.311 GB, free: 15.92 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.011/5.913, allocations: 0.6079 MB / 3.312 GB, free: 15.32 MB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/5.914, allocations: 405.9 kB / 3.312 GB, free: 14.95 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006933/5.915, allocations: 255.9 kB / 3.312 GB, free: 14.7 MB / 2.014 GB Notification: Performance of sorting global known variables: time 0.02675/5.941, allocations: 11.7 MB / 3.324 GB, free: 3.098 MB / 2.014 GB Notification: Performance of sort global known variables: time 1.002e-06/5.941, allocations: 0 / 3.324 GB, free: 3.098 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.0212/5.963, allocations: 5.296 MB / 3.329 GB, free: 13.79 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.01276/5.975, allocations: 4.333 MB / 3.333 GB, free: 9.879 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01203/5.988, allocations: 5.857 MB / 3.339 GB, free: 4.363 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-05/5.988, allocations: 4 kB / 3.339 GB, free: 4.359 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004625/5.992, allocations: 2.59 MB / 3.341 GB, free: 1.93 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05244/6.045, allocations: 10.07 MB / 3.351 GB, free: 8.305 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06607/6.111, allocations: 33.84 MB / 3.384 GB, free: 6.098 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01496/6.126, allocations: 7.517 MB / 3.391 GB, free: 14.54 MB / 2.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004118/6.13, allocations: 1.116 MB / 3.393 GB, free: 13.43 MB / 2.092 GB Notification: Performance of SimCode: time 8.92e-07/6.13, allocations: 0 / 3.393 GB, free: 13.43 MB / 2.092 GB Notification: Performance of Templates: time 1.433/7.563, allocations: 315.2 MB / 3.7 GB, free: 1.174 GB / 2.233 GB make -j1 -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches