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.001802/0.001802, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002142/0.002142, allocations: 211.7 kB / 23 MB, free: 4.934 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.385/3.385, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.00203/0.00203, allocations: 68.56 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4123, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.272/3.684, allocations: 1.261 GB / 2.588 GB, free: 125.7 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.3864/4.07, allocations: 312.5 MB / 2.893 GB, free: 13.45 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04458/4.115, allocations: 1.692 MB / 2.895 GB, free: 11.74 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.03922/4.154, allocations: 13.44 MB / 2.908 GB, free: 14.22 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.1032/4.257, allocations: 33.99 MB / 2.941 GB, free: 12.11 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.05655/4.314, allocations: 20.42 MB / 2.961 GB, free: 7.801 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.09521/4.409, allocations: 58.67 MB / 3.018 GB, free: 12.96 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04021/4.449, allocations: 16.94 MB / 3.035 GB, free: 11.86 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324/6.773, allocations: 29.03 MB / 3.063 GB, free: 51.72 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03674/6.81, allocations: 18.25 MB / 3.081 GB, free: 50.88 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01009/6.82, allocations: 2.131 MB / 3.083 GB, free: 50.88 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04538/6.865, allocations: 15.92 MB / 3.099 GB, free: 50.87 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01176/6.877, allocations: 5.102 MB / 3.104 GB, free: 50.54 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02318/6.9, allocations: 8.726 MB / 3.112 GB, free: 48.32 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.07592/6.976, allocations: 41.27 MB / 3.152 GB, free: 44 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/6.976, allocations: 0 / 3.152 GB, free: 44 MB / 2.045 GB Notification: Performance of FrontEnd: time 2.134e-06/6.976, allocations: 4 kB / 3.152 GB, free: 44 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001269/6.977, allocations: 0 / 3.152 GB, free: 44 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.06817/7.046, allocations: 21.51 MB / 3.173 GB, free: 34.95 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/7.046, allocations: 10.16 kB / 3.173 GB, free: 34.95 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/7.058, allocations: 2.362 MB / 3.176 GB, free: 33.78 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04692/7.105, allocations: 18.9 MB / 3.194 GB, free: 30.57 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/7.107, allocations: 0.9777 MB / 3.195 GB, free: 30.54 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006596/7.113, allocations: 1.284 MB / 3.196 GB, free: 30.54 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05325/7.167, allocations: 17.06 MB / 3.213 GB, free: 25.22 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000889/7.168, allocations: 46.27 kB / 3.213 GB, free: 25.21 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005462/7.173, allocations: 0.532 MB / 3.214 GB, free: 25.21 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005269/7.174, allocations: 346.8 kB / 3.214 GB, free: 25.21 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/7.199, allocations: 10.08 MB / 3.224 GB, free: 25.14 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.09592/7.295, allocations: 56.9 MB / 3.279 GB, free: 15.81 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007848/7.303, allocations: 4.346 MB / 3.284 GB, free: 15.13 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004756/7.308, allocations: 2.288 MB / 3.286 GB, free: 14.91 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07774/7.386, allocations: 22.9 MB / 3.308 GB, free: 13.37 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/7.386, allocations: 128.2 kB / 3.308 GB, free: 13.32 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 1.397e-05/7.386, allocations: 0 / 3.308 GB, free: 13.32 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.017/7.403, allocations: 6.676 MB / 3.315 GB, free: 12.49 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003613/7.403, allocations: 0.7877 MB / 3.316 GB, free: 11.58 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03084/7.434, allocations: 11.96 MB / 3.327 GB, free: 26.67 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.00159/7.436, allocations: 144.7 kB / 3.327 GB, free: 26.64 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.009419/7.445, allocations: 8.74 MB / 3.336 GB, free: 23.68 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002625/7.448, allocations: 1.532 MB / 3.337 GB, free: 22.7 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005682/7.453, allocations: 1.501 MB / 3.339 GB, free: 22.57 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001348/7.453, allocations: 303.6 kB / 3.339 GB, free: 22.27 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004127/7.458, allocations: 2.095 MB / 3.341 GB, free: 22.25 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009132/7.467, allocations: 9.6 MB / 3.351 GB, free: 13.41 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009825/7.477, allocations: 7.141 MB / 3.358 GB, free: 10.41 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/7.477, allocations: 22.31 kB / 3.358 GB, free: 10.41 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02107/7.498, allocations: 8.054 MB / 3.365 GB, free: 9.531 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002403/7.498, allocations: 37.84 kB / 3.366 GB, free: 9.531 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002457/7.498, allocations: 84.66 kB / 3.366 GB, free: 9.527 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/7.498, allocations: 118.4 kB / 3.366 GB, free: 9.527 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005923/7.504, allocations: 1.458 MB / 3.367 GB, free: 9.527 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002841/7.505, allocations: 168.8 kB / 3.367 GB, free: 9.527 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/7.516, allocations: 0.796 MB / 3.368 GB, free: 9.16 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/7.518, allocations: 392.8 kB / 3.368 GB, free: 9.16 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.009944/7.528, allocations: 3.581 MB / 3.372 GB, free: 8.984 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005865/7.534, allocations: 1.346 MB / 3.373 GB, free: 8.242 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/7.549, allocations: 7.426 MB / 3.381 GB, free: 7.758 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004462/7.553, allocations: 3.891 MB / 3.384 GB, free: 6.012 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-05/7.553, allocations: 3.812 kB / 3.384 GB, free: 6.012 MB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007489/7.561, allocations: 2.201 MB / 3.386 GB, free: 5.156 MB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003707/7.564, allocations: 114.6 kB / 3.387 GB, free: 5.141 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007744/7.572, allocations: 150.5 kB / 3.387 GB, free: 5.129 MB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008301/7.573, allocations: 312.9 kB / 3.387 GB, free: 5.125 MB / 2.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01062/7.584, allocations: 7.684 MB / 3.395 GB, free: 2.906 MB / 2.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01806/7.602, allocations: 11.65 MB / 3.406 GB, free: 15.55 MB / 2.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004033/7.606, allocations: 2.281 MB / 3.408 GB, free: 15.54 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.01785/7.624, allocations: 8.119 MB / 3.416 GB, free: 15.14 MB / 2.092 GB Notification: Performance of Backend: time 5.91e-07/7.624, allocations: 0 / 3.416 GB, free: 15.14 MB / 2.092 GB Notification: Performance of simCode: created initialization part: time 0.0348/7.658, allocations: 8.515 MB / 3.424 GB, free: 13.88 MB / 2.092 GB Notification: Performance of SimCode: time 0.07717/7.736, allocations: 30.95 MB / 3.455 GB, free: 4.809 MB / 2.108 GB Notification: Performance of Templates: time 0.5151/8.251, allocations: 298.7 MB / 3.746 GB, free: 14.7 MB / 2.404 GB " [Timeout remaining time 292] 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/jenkins1/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: 26.908477584001957]