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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007202/0.007202, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.00153/0.00153, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7567/0.7579, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.727/3.485, allocations: 1.349 GB / 2.437 GB, free: 83.32 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.3503/3.835, allocations: 330.5 MB / 2.759 GB, free: 2.141 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04589/3.881, allocations: 1.161 MB / 2.761 GB, free: 0.9727 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.04078/3.922, allocations: 12.96 MB / 2.773 GB, free: 3.93 MB / 1.717 GB Notification: Performance of NFTyping.typeBindings: time 0.1027/4.025, allocations: 32.16 MB / 2.805 GB, free: 3.656 MB / 1.748 GB Notification: Performance of NFTyping.typeClassSections: time 0.04796/4.073, allocations: 18.87 MB / 2.823 GB, free: 0.9258 MB / 1.764 GB Notification: Performance of NFFlatten.flatten: time 1.174/5.247, allocations: 56.59 MB / 2.878 GB, free: 27.86 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04962/5.297, allocations: 22.24 MB / 2.9 GB, free: 41.12 MB / 1.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0602/5.357, allocations: 25.29 MB / 2.925 GB, free: 41.03 MB / 1.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03603/5.393, allocations: 17.59 MB / 2.942 GB, free: 37.68 MB / 1.795 GB Notification: Performance of NFPackage.collectConstants: time 0.008663/5.402, allocations: 2.053 MB / 2.944 GB, free: 37.68 MB / 1.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04266/5.444, allocations: 17.89 MB / 2.961 GB, free: 37.66 MB / 1.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00925/5.454, allocations: 4.728 MB / 2.966 GB, free: 36.95 MB / 1.795 GB Notification: Performance of NFVerifyModel.verify: time 0.02396/5.478, allocations: 10.86 MB / 2.977 GB, free: 34.07 MB / 1.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0699/5.548, allocations: 41.12 MB / 3.017 GB, free: 31 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/5.548, allocations: 0 / 3.017 GB, free: 31 MB / 1.795 GB Notification: Performance of FrontEnd: time 2.044e-06/5.548, allocations: 3.844 kB / 3.017 GB, free: 31 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.001266/5.549, allocations: 0 / 3.017 GB, free: 31 MB / 1.795 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.05584/5.605, allocations: 20.35 MB / 3.037 GB, free: 22.88 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/5.605, allocations: 10.47 kB / 3.037 GB, free: 22.88 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/5.615, allocations: 2.18 MB / 3.039 GB, free: 21.84 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03823/5.653, allocations: 18.28 MB / 3.057 GB, free: 19.03 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/5.654, allocations: 0.9469 MB / 3.058 GB, free: 19 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005208/5.66, allocations: 1.259 MB / 3.059 GB, free: 18.99 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04373/5.703, allocations: 14.07 MB / 3.073 GB, free: 16.59 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006736/5.704, allocations: 47.45 kB / 3.073 GB, free: 16.59 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003953/5.708, allocations: 0.5135 MB / 3.073 GB, free: 16.59 MB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003697/5.708, allocations: 344.5 kB / 3.073 GB, free: 16.58 MB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/5.731, allocations: 9.686 MB / 3.083 GB, free: 16.51 MB / 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.09715/5.828, allocations: 72.17 MB / 3.153 GB, free: 0.7578 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00873/5.837, allocations: 4.572 MB / 3.158 GB, free: 13.46 MB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/5.841, allocations: 2.434 MB / 3.16 GB, free: 11.82 MB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09103/5.932, allocations: 51.66 MB / 3.211 GB, free: 1.766 MB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/5.932, allocations: 118.8 kB / 3.211 GB, free: 1.691 MB / 1.889 GB Notification: Performance of pre-optimization done (n=412): time 6.463e-06/5.932, allocations: 0 / 3.211 GB, free: 1.691 MB / 1.889 GB Notification: Performance of matching and sorting (n=412): time 0.01612/5.948, allocations: 6.957 MB / 3.218 GB, free: 12.63 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003864/5.949, allocations: 0.7938 MB / 3.218 GB, free: 11.67 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03448/5.983, allocations: 16.21 MB / 3.234 GB, free: 0.5352 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.001366/5.985, allocations: 139.6 kB / 3.234 GB, free: 472 kB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01038/5.995, allocations: 8.217 MB / 3.242 GB, free: 12.8 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/5.998, allocations: 1.445 MB / 3.244 GB, free: 11.37 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003177/6.001, allocations: 1.416 MB / 3.245 GB, free: 9.945 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 9.706e-05/6.001, allocations: 309.1 kB / 3.245 GB, free: 9.641 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003558/6.005, allocations: 2.007 MB / 3.247 GB, free: 7.629 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006147/6.011, allocations: 4.93 MB / 3.252 GB, free: 1.531 MB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008966/6.02, allocations: 6.675 MB / 3.259 GB, free: 10.22 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.493e-05/6.02, allocations: 20 kB / 3.259 GB, free: 10.2 MB / 1.936 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01912/6.039, allocations: 7.962 MB / 3.266 GB, free: 2.699 MB / 1.936 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/6.039, allocations: 36.97 kB / 3.267 GB, free: 2.664 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.965e-05/6.039, allocations: 68 kB / 3.267 GB, free: 2.598 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001227/6.039, allocations: 112 kB / 3.267 GB, free: 2.488 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/6.044, allocations: 1.368 MB / 3.268 GB, free: 1.223 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001387/6.045, allocations: 155.4 kB / 3.268 GB, free: 1.102 MB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01201/6.057, allocations: 1.239 MB / 3.269 GB, free: 15.86 MB / 1.951 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/6.058, allocations: 375.8 kB / 3.27 GB, free: 15.49 MB / 1.951 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.009249/6.068, allocations: 3.4 MB / 3.273 GB, free: 12.18 MB / 1.951 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005548/6.073, allocations: 1.621 MB / 3.275 GB, free: 10.54 MB / 1.951 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01574/6.089, allocations: 7.526 MB / 3.282 GB, free: 3.25 MB / 1.951 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000202/6.089, allocations: 75.95 kB / 3.282 GB, free: 3.176 MB / 1.951 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-05/6.089, allocations: 8 kB / 3.282 GB, free: 3.168 MB / 1.951 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004847/6.094, allocations: 3.852 MB / 3.286 GB, free: 15.02 MB / 1.967 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05408/6.148, allocations: 28.48 MB / 3.314 GB, free: 2.426 MB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.615e-05/6.148, allocations: 32 kB / 3.314 GB, free: 2.395 MB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/6.151, allocations: 0.7732 MB / 3.314 GB, free: 1.672 MB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.824e-05/6.151, allocations: 48 kB / 3.314 GB, free: 1.625 MB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005146/6.152, allocations: 159.9 kB / 3.315 GB, free: 1.469 MB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.119e-05/6.152, allocations: 69.95 kB / 3.315 GB, free: 1.414 MB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.059e-05/6.152, allocations: 53.62 kB / 3.315 GB, free: 1.375 MB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/6.171, allocations: 11.9 MB / 3.326 GB, free: 4.91 MB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008058/6.179, allocations: 2.825 MB / 3.329 GB, free: 2.043 MB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004513/6.183, allocations: 151.6 kB / 3.329 GB, free: 1.895 MB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009509/6.193, allocations: 218.7 kB / 3.329 GB, free: 1.684 MB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007439/6.194, allocations: 410.7 kB / 3.33 GB, free: 1.309 MB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007493/6.194, allocations: 263.8 kB / 3.33 GB, free: 1.051 MB / 1.998 GB Notification: Performance of sorting global known variables: time 0.02733/6.222, allocations: 11.55 MB / 3.341 GB, free: 5.59 MB / 2.014 GB Notification: Performance of sort global known variables: time 4.61e-07/6.222, allocations: 0 / 3.341 GB, free: 5.59 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.02042/6.242, allocations: 5.274 MB / 3.347 GB, free: 316 kB / 2.014 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.0141/6.256, allocations: 4.541 MB / 3.351 GB, free: 12.25 MB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.01118/6.268, allocations: 5.502 MB / 3.356 GB, free: 7.051 MB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-05/6.268, allocations: 8.438 kB / 3.356 GB, free: 7.043 MB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0048/6.272, allocations: 2.585 MB / 3.359 GB, free: 4.621 MB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05471/6.327, allocations: 9.946 MB / 3.369 GB, free: 11.17 MB / 2.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05747/6.385, allocations: 27.4 MB / 3.395 GB, free: 15.43 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01491/6.4, allocations: 7.415 MB / 3.403 GB, free: 7.984 MB / 2.076 GB Notification: Performance of simCode: alias equations: time 0.01607/6.416, allocations: 3.161 MB / 3.406 GB, free: 4.91 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003889/6.42, allocations: 1.053 MB / 3.407 GB, free: 3.863 MB / 2.076 GB Notification: Performance of SimCode: time 1.092e-06/6.42, allocations: 0 / 3.407 GB, free: 3.863 MB / 2.076 GB Notification: Performance of Templates: time 1.536/7.956, allocations: 359.8 MB / 3.758 GB, free: 1.266 GB / 2.295 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 -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/jenkins/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