Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.366/3.366, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.413e-05/3.682e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.651/3.651, allocations: 1.427 GB / 2.304 GB, free: 71.08 MB / 1.479 GB Notification: Performance of NFInst.instExpressions: time 0.4493/4.1, allocations: 348.4 MB / 2.644 GB, free: 8.836 MB / 1.62 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05476/4.155, allocations: 1.716 MB / 2.646 GB, free: 7.105 MB / 1.62 GB Notification: Performance of NFTyping.typeComponents: time 0.04408/4.199, allocations: 13.63 MB / 2.659 GB, free: 9.387 MB / 1.635 GB Notification: Performance of NFTyping.typeBindings: time 0.1058/4.305, allocations: 34.92 MB / 2.693 GB, free: 6.289 MB / 1.667 GB Notification: Performance of NFTyping.typeClassSections: time 0.05754/4.363, allocations: 22.33 MB / 2.715 GB, free: 15.91 MB / 1.698 GB Notification: Performance of NFFlatten.flatten: time 1.918/6.28, allocations: 58.86 MB / 2.773 GB, free: 31.24 MB / 1.714 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05251/6.333, allocations: 16.94 MB / 2.789 GB, free: 46.21 MB / 1.729 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1054/6.438, allocations: 37.31 MB / 2.826 GB, free: 44.83 MB / 1.729 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0409/6.479, allocations: 16.44 MB / 2.842 GB, free: 42.26 MB / 1.729 GB Notification: Performance of NFPackage.collectConstants: time 0.01055/6.49, allocations: 2.171 MB / 2.844 GB, free: 42.26 MB / 1.729 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04478/6.535, allocations: 15.77 MB / 2.859 GB, free: 41.65 MB / 1.729 GB Notification: Performance of NFScalarize.scalarize: time 0.01004/6.545, allocations: 5.38 MB / 2.864 GB, free: 40.59 MB / 1.729 GB Notification: Performance of NFVerifyModel.verify: time 0.02313/6.568, allocations: 7.554 MB / 2.872 GB, free: 39.7 MB / 1.729 GB Notification: Performance of NFConvertDAE.convert: time 0.09802/6.666, allocations: 43.29 MB / 2.914 GB, free: 38.11 MB / 1.729 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/6.666, allocations: 2.719 kB / 2.914 GB, free: 38.11 MB / 1.729 GB Notification: Performance of FrontEnd: time 1.954e-06/6.666, allocations: 0 / 2.914 GB, free: 38.11 MB / 1.729 GB Notification: Performance of Transformations before backend: time 0.001721/6.668, allocations: 0 / 2.914 GB, free: 38.11 MB / 1.729 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.07483/6.742, allocations: 24.73 MB / 2.938 GB, free: 28.6 MB / 1.729 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/6.742, allocations: 10.25 kB / 2.938 GB, free: 28.6 MB / 1.729 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/6.761, allocations: 3.516 MB / 2.942 GB, free: 27.31 MB / 1.729 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04478/6.806, allocations: 20.51 MB / 2.962 GB, free: 24.04 MB / 1.729 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001285/6.807, allocations: 1.007 MB / 2.963 GB, free: 24.01 MB / 1.729 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005968/6.813, allocations: 1.384 MB / 2.964 GB, free: 24.01 MB / 1.729 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04696/6.86, allocations: 18.33 MB / 2.982 GB, free: 17.76 MB / 1.729 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007122/6.86, allocations: 46.23 kB / 2.982 GB, free: 17.76 MB / 1.729 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003976/6.864, allocations: 0.5368 MB / 2.983 GB, free: 17.76 MB / 1.729 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004014/6.865, allocations: 348.5 kB / 2.983 GB, free: 17.76 MB / 1.729 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02109/6.886, allocations: 9.026 MB / 2.992 GB, free: 17.69 MB / 1.729 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.1314/7.017, allocations: 87.22 MB / 3.077 GB, free: 6.379 MB / 1.761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007415/7.025, allocations: 4.177 MB / 3.081 GB, free: 4.961 MB / 1.761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/7.028, allocations: 1.881 MB / 3.083 GB, free: 4.43 MB / 1.761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08422/7.112, allocations: 22.93 MB / 3.105 GB, free: 9.602 MB / 1.776 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/7.112, allocations: 125.1 kB / 3.105 GB, free: 9.516 MB / 1.776 GB Notification: Performance of pre-optimization done (n=412): time 8.657e-06/7.112, allocations: 0 / 3.105 GB, free: 9.516 MB / 1.776 GB Notification: Performance of matching and sorting (n=412): time 0.01942/7.132, allocations: 5.687 MB / 3.111 GB, free: 5.219 MB / 1.776 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005858/7.132, allocations: 0.7993 MB / 3.112 GB, free: 4.254 MB / 1.776 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04012/7.172, allocations: 17.16 MB / 3.128 GB, free: 3.164 MB / 1.792 GB Notification: Performance of collectPreVariables (initialization): time 0.001718/7.174, allocations: 165.7 kB / 3.129 GB, free: 2.996 MB / 1.792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01588/7.19, allocations: 10.43 MB / 3.139 GB, free: 8.559 MB / 1.807 GB Notification: Performance of collectInitialBindings (initialization): time 0.003436/7.193, allocations: 1.697 MB / 3.14 GB, free: 6.883 MB / 1.807 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005538/7.199, allocations: 2.239 MB / 3.143 GB, free: 4.637 MB / 1.807 GB Notification: Performance of setup shared object (initialization): time 0.0002486/7.199, allocations: 480.7 kB / 3.143 GB, free: 4.164 MB / 1.807 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004142/7.203, allocations: 1.733 MB / 3.145 GB, free: 2.43 MB / 1.807 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01523/7.219, allocations: 12.07 MB / 3.157 GB, free: 2.887 MB / 1.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0156/7.234, allocations: 9.339 MB / 3.166 GB, free: 7.871 MB / 1.839 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001455/7.234, allocations: 32 kB / 3.166 GB, free: 7.84 MB / 1.839 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0231/7.257, allocations: 8.459 MB / 3.174 GB, free: 112 kB / 1.839 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/7.258, allocations: 52 kB / 3.174 GB, free: 60 kB / 1.839 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/7.258, allocations: 116 kB / 3.174 GB, free: 15.94 MB / 1.854 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/7.258, allocations: 160 kB / 3.174 GB, free: 15.79 MB / 1.854 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/7.264, allocations: 1.688 MB / 3.176 GB, free: 14.24 MB / 1.854 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002683/7.265, allocations: 231.2 kB / 3.176 GB, free: 14.06 MB / 1.854 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/7.276, allocations: 0.8946 MB / 3.177 GB, free: 13.16 MB / 1.854 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/7.277, allocations: 469.8 kB / 3.177 GB, free: 12.71 MB / 1.854 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 (967): * Single equations (assignments): 967 * 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.01165/7.289, allocations: 3.505 MB / 3.181 GB, free: 9.328 MB / 1.854 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006064/7.295, allocations: 1.505 MB / 3.182 GB, free: 7.816 MB / 1.854 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/7.31, allocations: 5.707 MB / 3.188 GB, free: 2.277 MB / 1.854 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001587/7.31, allocations: 83.94 kB / 3.188 GB, free: 2.195 MB / 1.854 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.463e-05/7.31, allocations: 8 kB / 3.188 GB, free: 2.188 MB / 1.854 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004791/7.315, allocations: 3.151 MB / 3.191 GB, free: 14.74 MB / 1.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0618/7.377, allocations: 27 MB / 3.217 GB, free: 3.523 MB / 1.886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.06e-05/7.377, allocations: 32 kB / 3.217 GB, free: 3.492 MB / 1.886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/7.38, allocations: 0.7764 MB / 3.218 GB, free: 2.766 MB / 1.886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.636e-05/7.38, allocations: 55.94 kB / 3.218 GB, free: 2.711 MB / 1.886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004565/7.381, allocations: 152 kB / 3.218 GB, free: 2.562 MB / 1.886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.797e-05/7.381, allocations: 69.75 kB / 3.218 GB, free: 2.508 MB / 1.886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.713e-05/7.381, allocations: 49.69 kB / 3.219 GB, free: 2.473 MB / 1.886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02032/7.401, allocations: 10.83 MB / 3.229 GB, free: 6.953 MB / 1.901 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008334/7.409, allocations: 2.299 MB / 3.231 GB, free: 4.645 MB / 1.901 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003018/7.413, allocations: 155.7 kB / 3.231 GB, free: 4.492 MB / 1.901 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007041/7.42, allocations: 179.2 kB / 3.232 GB, free: 4.32 MB / 1.901 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009778/7.421, allocations: 415.7 kB / 3.232 GB, free: 3.938 MB / 1.901 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000809/7.421, allocations: 263.8 kB / 3.232 GB, free: 3.68 MB / 1.901 GB Notification: Performance of sorting global known variables: time 0.02402/7.445, allocations: 9.494 MB / 3.242 GB, free: 10.25 MB / 1.917 GB Notification: Performance of sort global known variables: time 2.1e-07/7.445, allocations: 2.438 kB / 3.242 GB, free: 10.25 MB / 1.917 GB Notification: Performance of remove unused functions: time 0.02483/7.47, allocations: 5.972 MB / 3.247 GB, free: 4.258 MB / 1.917 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.01448/7.485, allocations: 4.642 MB / 3.252 GB, free: 64 kB / 1.917 GB Notification: Performance of simCode: created initialization part: time 0.01349/7.498, allocations: 5.509 MB / 3.257 GB, free: 10.95 MB / 1.932 GB Notification: Performance of simCode: created event and clocks part: time 6.099e-05/7.498, allocations: 4.375 kB / 3.257 GB, free: 10.95 MB / 1.932 GB Notification: Performance of simCode: created simulation system equations: time 0.004791/7.503, allocations: 2.188 MB / 3.259 GB, free: 8.906 MB / 1.932 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03849/7.541, allocations: 5.852 MB / 3.265 GB, free: 3.281 MB / 1.932 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06455/7.606, allocations: 28.04 MB / 3.293 GB, free: 6.594 MB / 1.964 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/7.622, allocations: 7.471 MB / 3.3 GB, free: 15.09 MB / 1.979 GB Notification: Performance of simCode: alias equations: time 0.01393/7.636, allocations: 2.473 MB / 3.302 GB, free: 12.7 MB / 1.979 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003801/7.64, allocations: 0.8581 MB / 3.303 GB, free: 11.84 MB / 1.979 GB Notification: Performance of SimCode: time 2.514e-06/7.64, allocations: 0 / 3.303 GB, free: 11.84 MB / 1.979 GB Notification: Performance of Templates: time 0.9859/8.626, allocations: 259.7 MB / 3.557 GB, free: 1.187 GB / 2.151 GB " [Timeout remaining time 291] make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.801979230018333]