Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002296/0.002296, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002882/0.002882, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.561/1.561, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.399/3.399, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002164/0.002164, allocations: 69.16 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4233, allocations: 176.1 MB / 1.326 GB, free: 1.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.332/3.756, allocations: 1.261 GB / 2.586 GB, free: 125.9 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.4028/4.158, allocations: 312.5 MB / 2.891 GB, free: 14.75 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04685/4.205, allocations: 1.696 MB / 2.893 GB, free: 13.04 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.04099/4.246, allocations: 13.45 MB / 2.906 GB, free: 15.51 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.1044/4.351, allocations: 33.92 MB / 2.939 GB, free: 13.48 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.0604/4.411, allocations: 20.2 MB / 2.959 GB, free: 9.371 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.09264/4.504, allocations: 58.38 MB / 3.016 GB, free: 14.83 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04683/4.551, allocations: 16.69 MB / 3.032 GB, free: 13.97 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.69/7.24, allocations: 29.03 MB / 3.061 GB, free: 51.86 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04303/7.283, allocations: 17.6 MB / 3.078 GB, free: 51.04 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01208/7.295, allocations: 2.129 MB / 3.08 GB, free: 51.04 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05124/7.346, allocations: 15.58 MB / 3.095 GB, free: 51.03 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01359/7.36, allocations: 5.109 MB / 3.1 GB, free: 51.02 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.03293/7.393, allocations: 8.727 MB / 3.109 GB, free: 48.8 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.09581/7.489, allocations: 41.27 MB / 3.149 GB, free: 44.49 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/7.489, allocations: 0 / 3.149 GB, free: 44.49 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.894e-06/7.489, allocations: 0 / 3.149 GB, free: 44.49 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.00166/7.49, allocations: 0 / 3.149 GB, free: 44.49 MB / 2.045 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.08903/7.579, allocations: 21.51 MB / 3.17 GB, free: 35.43 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/7.58, allocations: 11.31 kB / 3.17 GB, free: 35.43 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/7.595, allocations: 2.359 MB / 3.172 GB, free: 34.27 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05346/7.649, allocations: 18.9 MB / 3.191 GB, free: 31.05 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001652/7.65, allocations: 0.976 MB / 3.192 GB, free: 31.03 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007469/7.658, allocations: 1.288 MB / 3.193 GB, free: 31.02 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06415/7.722, allocations: 17.06 MB / 3.21 GB, free: 25.7 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001148/7.723, allocations: 49.84 kB / 3.21 GB, free: 25.7 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006131/7.729, allocations: 0.5348 MB / 3.21 GB, free: 25.7 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005229/7.73, allocations: 343.6 kB / 3.211 GB, free: 25.7 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02766/7.757, allocations: 10.08 MB / 3.22 GB, free: 25.63 MB / 2.045 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.1282/7.886, allocations: 56.9 MB / 3.276 GB, free: 16.3 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008348/7.894, allocations: 4.355 MB / 3.28 GB, free: 15.62 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004309/7.898, allocations: 2.287 MB / 3.283 GB, free: 15.39 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08035/7.979, allocations: 22.89 MB / 3.305 GB, free: 13.85 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/7.979, allocations: 120.6 kB / 3.305 GB, free: 13.81 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 2.039e-05/7.979, allocations: 0 / 3.305 GB, free: 13.81 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01913/7.998, allocations: 6.684 MB / 3.312 GB, free: 12.98 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004438/7.998, allocations: 0.7889 MB / 3.312 GB, free: 12.07 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03556/8.034, allocations: 11.96 MB / 3.324 GB, free: 27.15 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001892/8.036, allocations: 141.4 kB / 3.324 GB, free: 27.12 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01153/8.047, allocations: 8.743 MB / 3.333 GB, free: 24.16 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003212/8.051, allocations: 1.537 MB / 3.334 GB, free: 23.18 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00695/8.058, allocations: 1.495 MB / 3.336 GB, free: 23.05 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.000166/8.058, allocations: 301.1 kB / 3.336 GB, free: 22.76 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004734/8.063, allocations: 2.091 MB / 3.338 GB, free: 22.74 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/8.073, allocations: 9.605 MB / 3.347 GB, free: 13.89 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/8.085, allocations: 7.135 MB / 3.354 GB, free: 10.89 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002109/8.085, allocations: 25.47 kB / 3.354 GB, free: 10.89 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0252/8.11, allocations: 8.049 MB / 3.362 GB, free: 10.02 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/8.11, allocations: 48.66 kB / 3.362 GB, free: 10.01 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/8.11, allocations: 82.36 kB / 3.362 GB, free: 10.01 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/8.111, allocations: 118.4 kB / 3.362 GB, free: 10.01 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006136/8.117, allocations: 1.455 MB / 3.364 GB, free: 10.01 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003058/8.117, allocations: 175.9 kB / 3.364 GB, free: 10.01 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01248/8.13, allocations: 0.7968 MB / 3.365 GB, free: 9.641 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/8.132, allocations: 391.8 kB / 3.365 GB, free: 9.641 MB / 2.076 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.01206/8.144, allocations: 3.575 MB / 3.369 GB, free: 9.469 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007155/8.151, allocations: 1.348 MB / 3.37 GB, free: 8.723 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01714/8.168, allocations: 7.446 MB / 3.377 GB, free: 8.215 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002526/8.169, allocations: 86.73 kB / 3.377 GB, free: 8.215 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.771e-05/8.169, allocations: 7.688 kB / 3.377 GB, free: 8.215 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005693/8.174, allocations: 3.885 MB / 3.381 GB, free: 6.473 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06752/8.242, allocations: 25.37 MB / 3.406 GB, free: 2.641 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001705/8.242, allocations: 37.78 kB / 3.406 GB, free: 2.637 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/8.245, allocations: 0.7833 MB / 3.407 GB, free: 2.629 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.225e-05/8.246, allocations: 49.06 kB / 3.407 GB, free: 2.629 MB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/8.247, allocations: 152.8 kB / 3.407 GB, free: 2.629 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.493e-05/8.247, allocations: 69.64 kB / 3.407 GB, free: 2.629 MB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-05/8.247, allocations: 48.78 kB / 3.407 GB, free: 2.629 MB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/8.27, allocations: 11.75 MB / 3.418 GB, free: 14.55 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008721/8.279, allocations: 2.233 MB / 3.421 GB, free: 13.5 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004329/8.283, allocations: 158.5 kB / 3.421 GB, free: 13.47 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008446/8.292, allocations: 168.7 kB / 3.421 GB, free: 13.44 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001314/8.293, allocations: 414.8 kB / 3.421 GB, free: 13.26 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001247/8.294, allocations: 262.9 kB / 3.422 GB, free: 13.22 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.02127/8.316, allocations: 8.117 MB / 3.43 GB, free: 11.58 MB / 2.092 GB Notification: Performance of sort global known variables: time 2.8e-07/8.316, allocations: 3.625 kB / 3.43 GB, free: 11.58 MB / 2.092 GB Notification: Performance of remove unused functions: time 0.02817/8.344, allocations: 5.884 MB / 3.435 GB, free: 7.844 MB / 2.092 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.01772/8.362, allocations: 4.407 MB / 3.44 GB, free: 4.055 MB / 2.092 GB Notification: Performance of simCode: created initialization part: time 0.01375/8.375, allocations: 5.518 MB / 3.445 GB, free: 476 kB / 2.092 GB Notification: Performance of simCode: created event and clocks part: time 6.043e-05/8.375, allocations: 11.91 kB / 3.445 GB, free: 464 kB / 2.092 GB Notification: Performance of simCode: created simulation system equations: time 0.005472/8.381, allocations: 2.469 MB / 3.447 GB, free: 14.85 MB / 2.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04059/8.421, allocations: 5.887 MB / 3.453 GB, free: 10.14 MB / 2.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07397/8.495, allocations: 27.99 MB / 3.48 GB, free: 0.9102 MB / 2.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02465/8.52, allocations: 7.524 MB / 3.488 GB, free: 9.855 MB / 2.139 GB Notification: Performance of simCode: alias equations: time 0.01637/8.536, allocations: 2.585 MB / 3.49 GB, free: 7.293 MB / 2.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004093/8.54, allocations: 0.8378 MB / 3.491 GB, free: 6.488 MB / 2.139 GB Notification: Performance of SimCode: time 1.302e-06/8.54, allocations: 0 / 3.491 GB, free: 6.488 MB / 2.139 GB Notification: Performance of Templates: time 0.5235/9.064, allocations: 285.3 MB / 3.77 GB, free: 13.79 MB / 2.42 GB " [Timeout remaining time 291] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 28.907520378008485]