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.001665/0.001665, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002096/0.002096, allocations: 220.3 kB / 23 MB, free: 4.914 MB / 14.72 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 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.36/3.36, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.45 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.663/4.022, allocations: 1.261 GB / 2.625 GB, free: 123.1 MB / 1.764 GB Notification: Performance of NFInst.instExpressions: time 0.4492/4.471, allocations: 312.5 MB / 2.931 GB, free: 13.22 MB / 1.951 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05527/4.526, allocations: 1.692 MB / 2.932 GB, free: 11.52 MB / 1.951 GB Notification: Performance of NFTyping.typeComponents: time 0.04382/4.57, allocations: 13.45 MB / 2.945 GB, free: 13.99 MB / 1.967 GB Notification: Performance of NFTyping.typeBindings: time 0.1142/4.684, allocations: 33.93 MB / 2.978 GB, free: 11.95 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.05503/4.74, allocations: 20.18 MB / 2.998 GB, free: 7.926 MB / 2.014 GB Notification: Performance of NFFlatten.flatten: time 0.09281/4.832, allocations: 58.39 MB / 3.055 GB, free: 13.38 MB / 2.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04239/4.875, allocations: 16.7 MB / 3.072 GB, free: 12.52 MB / 2.092 GB Notification: Performance of NFEvalConstants.evaluate: time 2.695/7.569, allocations: 29.03 MB / 3.1 GB, free: 56.16 MB / 2.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04665/7.616, allocations: 17.6 MB / 3.117 GB, free: 55.33 MB / 2.092 GB Notification: Performance of NFPackage.collectConstants: time 0.01463/7.631, allocations: 2.129 MB / 3.119 GB, free: 55.33 MB / 2.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05718/7.688, allocations: 15.58 MB / 3.134 GB, free: 55.32 MB / 2.092 GB Notification: Performance of NFScalarize.scalarize: time 0.01806/7.706, allocations: 5.102 MB / 3.139 GB, free: 55.19 MB / 2.092 GB Notification: Performance of NFVerifyModel.verify: time 0.03621/7.742, allocations: 8.728 MB / 3.148 GB, free: 52.96 MB / 2.092 GB Notification: Performance of NFConvertDAE.convert: time 0.08668/7.829, allocations: 41.28 MB / 3.188 GB, free: 48.65 MB / 2.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/7.829, allocations: 0 / 3.188 GB, free: 48.65 MB / 2.092 GB Notification: Performance of FrontEnd: time 2.524e-06/7.829, allocations: 4 kB / 3.188 GB, free: 48.65 MB / 2.092 GB Notification: Performance of Transformations before backend: time 0.00144/7.83, allocations: 0 / 3.188 GB, free: 48.65 MB / 2.092 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.07481/7.905, allocations: 21.5 MB / 3.209 GB, free: 39.61 MB / 2.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/7.905, allocations: 11.56 kB / 3.209 GB, free: 39.61 MB / 2.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/7.919, allocations: 2.363 MB / 3.211 GB, free: 38.44 MB / 2.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04679/7.966, allocations: 18.89 MB / 3.23 GB, free: 35.23 MB / 2.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001321/7.967, allocations: 0.9786 MB / 3.231 GB, free: 35.2 MB / 2.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005602/7.972, allocations: 1.294 MB / 3.232 GB, free: 35.2 MB / 2.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04975/8.022, allocations: 17.06 MB / 3.249 GB, free: 29.88 MB / 2.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009226/8.023, allocations: 47.36 kB / 3.249 GB, free: 29.88 MB / 2.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005193/8.028, allocations: 0.5348 MB / 3.249 GB, free: 29.88 MB / 2.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003406/8.029, allocations: 353.6 kB / 3.25 GB, free: 29.88 MB / 2.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/8.053, allocations: 10.07 MB / 3.26 GB, free: 29.81 MB / 2.092 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.1025/8.156, allocations: 56.92 MB / 3.315 GB, free: 20.47 MB / 2.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008192/8.164, allocations: 4.335 MB / 3.319 GB, free: 19.8 MB / 2.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004056/8.168, allocations: 2.283 MB / 3.322 GB, free: 19.57 MB / 2.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07884/8.247, allocations: 22.9 MB / 3.344 GB, free: 18.02 MB / 2.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/8.247, allocations: 128.6 kB / 3.344 GB, free: 17.98 MB / 2.108 GB Notification: Performance of pre-optimization done (n=412): time 2.271e-05/8.247, allocations: 0 / 3.344 GB, free: 17.98 MB / 2.108 GB Notification: Performance of matching and sorting (n=412): time 0.01893/8.266, allocations: 6.677 MB / 3.351 GB, free: 17.14 MB / 2.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009081/8.267, allocations: 0.7874 MB / 3.351 GB, free: 32.23 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03489/8.302, allocations: 11.96 MB / 3.363 GB, free: 31.32 MB / 2.123 GB Notification: Performance of collectPreVariables (initialization): time 0.001674/8.303, allocations: 142.5 kB / 3.363 GB, free: 31.29 MB / 2.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01077/8.314, allocations: 8.745 MB / 3.372 GB, free: 28.32 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002968/8.317, allocations: 1.531 MB / 3.373 GB, free: 27.34 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006784/8.324, allocations: 1.501 MB / 3.375 GB, free: 27.21 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 0.0001517/8.324, allocations: 301.1 kB / 3.375 GB, free: 26.92 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005015/8.329, allocations: 2.089 MB / 3.377 GB, free: 26.9 MB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01024/8.339, allocations: 9.605 MB / 3.386 GB, free: 18.05 MB / 2.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/8.349, allocations: 7.146 MB / 3.393 GB, free: 15.05 MB / 2.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/8.35, allocations: 24.44 kB / 3.393 GB, free: 15.05 MB / 2.123 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02237/8.372, allocations: 8.062 MB / 3.401 GB, free: 14.17 MB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/8.372, allocations: 40.25 kB / 3.401 GB, free: 14.17 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002371/8.372, allocations: 81.5 kB / 3.401 GB, free: 14.17 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/8.373, allocations: 117.9 kB / 3.401 GB, free: 14.17 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00581/8.378, allocations: 1.451 MB / 3.403 GB, free: 14.17 MB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002907/8.379, allocations: 170.3 kB / 3.403 GB, free: 14.17 MB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/8.391, allocations: 0.798 MB / 3.404 GB, free: 13.8 MB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/8.393, allocations: 399.2 kB / 3.404 GB, free: 13.8 MB / 2.123 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.01284/8.406, allocations: 3.569 MB / 3.408 GB, free: 13.63 MB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006501/8.413, allocations: 1.354 MB / 3.409 GB, free: 12.88 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/8.43, allocations: 7.432 MB / 3.416 GB, free: 12.39 MB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002555/8.43, allocations: 80 kB / 3.416 GB, free: 12.39 MB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.775e-05/8.43, allocations: 19.41 kB / 3.416 GB, free: 12.38 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005484/8.436, allocations: 3.896 MB / 3.42 GB, free: 10.63 MB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05929/8.495, allocations: 25.38 MB / 3.445 GB, free: 6.789 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001767/8.495, allocations: 29.16 kB / 3.445 GB, free: 6.789 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/8.498, allocations: 0.7758 MB / 3.446 GB, free: 6.789 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-05/8.499, allocations: 47.66 kB / 3.446 GB, free: 6.789 MB / 2.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/8.5, allocations: 157.6 kB / 3.446 GB, free: 6.789 MB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.75e-05/8.5, allocations: 70.66 kB / 3.446 GB, free: 6.785 MB / 2.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.769e-05/8.5, allocations: 50.56 kB / 3.446 GB, free: 6.785 MB / 2.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02381/8.524, allocations: 11.74 MB / 3.458 GB, free: 2.707 MB / 2.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009528/8.533, allocations: 2.226 MB / 3.46 GB, free: 1.863 MB / 2.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004915/8.538, allocations: 164.2 kB / 3.46 GB, free: 1.836 MB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008963/8.547, allocations: 167.6 kB / 3.46 GB, free: 1.836 MB / 2.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/8.548, allocations: 416.5 kB / 3.46 GB, free: 1.805 MB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001439/8.55, allocations: 261.5 kB / 3.461 GB, free: 1.805 MB / 2.123 GB Notification: Performance of sorting global known variables: time 0.02346/8.573, allocations: 8.115 MB / 3.469 GB, free: 0.7812 MB / 2.123 GB Notification: Performance of sort global known variables: time 4.31e-07/8.573, allocations: 0 / 3.469 GB, free: 0.7812 MB / 2.123 GB Notification: Performance of remove unused functions: time 0.02579/8.599, allocations: 5.883 MB / 3.474 GB, free: 15.54 MB / 2.139 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.01583/8.615, allocations: 4.404 MB / 3.479 GB, free: 12.45 MB / 2.139 GB Notification: Performance of simCode: created initialization part: time 0.01418/8.629, allocations: 5.527 MB / 3.484 GB, free: 8.855 MB / 2.139 GB Notification: Performance of simCode: created event and clocks part: time 7.31e-05/8.629, allocations: 11.91 kB / 3.484 GB, free: 8.844 MB / 2.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005636/8.635, allocations: 2.467 MB / 3.486 GB, free: 7.242 MB / 2.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04053/8.675, allocations: 5.894 MB / 3.492 GB, free: 2.621 MB / 2.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07357/8.749, allocations: 27.81 MB / 3.519 GB, free: 9.441 MB / 2.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01918/8.768, allocations: 7.266 MB / 3.526 GB, free: 2.656 MB / 2.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004433/8.773, allocations: 0.8865 MB / 3.527 GB, free: 1.805 MB / 2.17 GB Notification: Performance of SimCode: time 1.543e-06/8.773, allocations: 2.625 kB / 3.527 GB, free: 1.805 MB / 2.17 GB Notification: Performance of Templates: time 0.4584/9.231, allocations: 274.9 MB / 3.796 GB, free: 6.465 MB / 2.436 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 59.86265711532906]