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.001717/0.001717, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001986/0.001986, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.897/2.897, allocations: 0.49 GB / 0.7923 GB, free: 1.438 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.002103/0.002103, allocations: 72.17 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.126/1.128, allocations: 176.1 MB / 1.322 GB, free: 24.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.688/4.816, allocations: 1.386 GB / 2.708 GB, free: 117.5 MB / 1.842 GB Notification: Performance of NFInst.instExpressions: time 0.3792/5.195, allocations: 336.3 MB / 3.037 GB, free: 54.19 MB / 1.842 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0622/5.257, allocations: 1.697 MB / 3.038 GB, free: 53.2 MB / 1.842 GB Notification: Performance of NFTyping.typeComponents: time 0.03949/5.297, allocations: 13.66 MB / 3.052 GB, free: 39.95 MB / 1.842 GB Notification: Performance of NFTyping.typeBindings: time 0.1013/5.398, allocations: 33.81 MB / 3.085 GB, free: 10.62 MB / 1.842 GB Notification: Performance of NFTyping.typeClassSections: time 0.05369/5.452, allocations: 19.86 MB / 3.104 GB, free: 8.742 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.09918/5.551, allocations: 57.75 MB / 3.16 GB, free: 436 kB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05181/5.603, allocations: 18.07 MB / 3.178 GB, free: 14.47 MB / 1.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08023/5.683, allocations: 28.42 MB / 3.206 GB, free: 2.945 MB / 1.951 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04001/5.723, allocations: 18.26 MB / 3.224 GB, free: 0.6055 MB / 1.967 GB Notification: Performance of NFPackage.collectConstants: time 0.01032/5.733, allocations: 2.129 MB / 3.226 GB, free: 14.47 MB / 1.982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05431/5.788, allocations: 18.43 MB / 3.244 GB, free: 12.02 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01156/5.799, allocations: 5.09 MB / 3.249 GB, free: 6.91 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.03125/5.83, allocations: 11.2 MB / 3.26 GB, free: 11.65 MB / 2.014 GB Notification: Performance of NFConvertDAE.convert: time 0.09625/5.927, allocations: 41.58 MB / 3.3 GB, free: 1.945 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/5.927, allocations: 4 kB / 3.3 GB, free: 1.941 MB / 2.045 GB Notification: Performance of FrontEnd: time 2.495e-06/5.927, allocations: 0 / 3.3 GB, free: 1.941 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001285/5.928, allocations: 0 / 3.3 GB, free: 1.941 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.06302/5.991, allocations: 21.6 MB / 3.321 GB, free: 12.06 MB / 2.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/5.991, allocations: 11.98 kB / 3.321 GB, free: 12.05 MB / 2.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0118/6.003, allocations: 2.361 MB / 3.324 GB, free: 9.672 MB / 2.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04537/6.048, allocations: 19.16 MB / 3.342 GB, free: 6.414 MB / 2.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001132/6.049, allocations: 0.9817 MB / 3.343 GB, free: 5.43 MB / 2.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004534/6.054, allocations: 1.285 MB / 3.345 GB, free: 4.145 MB / 2.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04469/6.099, allocations: 14.61 MB / 3.359 GB, free: 4.754 MB / 2.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005716/6.099, allocations: 47.52 kB / 3.359 GB, free: 4.707 MB / 2.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003461/6.103, allocations: 0.539 MB / 3.359 GB, free: 4.168 MB / 2.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004182/6.103, allocations: 347.9 kB / 3.36 GB, free: 3.828 MB / 2.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/6.127, allocations: 10.1 MB / 3.37 GB, free: 9.719 MB / 2.123 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 1.019/7.146, allocations: 76.67 MB / 3.445 GB, free: 0.9742 GB / 2.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008285/7.154, allocations: 4.354 MB / 3.449 GB, free: 0.9721 GB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004518/7.159, allocations: 2.3 MB / 3.451 GB, free: 0.9711 GB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0943/7.253, allocations: 56.08 MB / 3.506 GB, free: 0.9293 GB / 2.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/7.253, allocations: 125.1 kB / 3.506 GB, free: 0.9292 GB / 2.139 GB Notification: Performance of pre-optimization done (n=412): time 2.27e-05/7.253, allocations: 0 / 3.506 GB, free: 0.9292 GB / 2.139 GB Notification: Performance of matching and sorting (n=412): time 0.02116/7.274, allocations: 7.099 MB / 3.513 GB, free: 0.9266 GB / 2.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003123/7.275, allocations: 0.7883 MB / 3.514 GB, free: 0.9257 GB / 2.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05354/7.328, allocations: 16.72 MB / 3.53 GB, free: 0.9198 GB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001725/7.33, allocations: 143.9 kB / 3.53 GB, free: 0.9197 GB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01331/7.343, allocations: 8.691 MB / 3.539 GB, free: 0.9134 GB / 2.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.003004/7.346, allocations: 1.528 MB / 3.54 GB, free: 0.9124 GB / 2.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006814/7.353, allocations: 1.493 MB / 3.542 GB, free: 0.9117 GB / 2.139 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/7.353, allocations: 307.9 kB / 3.542 GB, free: 0.9114 GB / 2.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005337/7.358, allocations: 2.079 MB / 3.544 GB, free: 0.9106 GB / 2.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008372/7.367, allocations: 5.29 MB / 3.549 GB, free: 0.9061 GB / 2.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009204/7.376, allocations: 7.134 MB / 3.556 GB, free: 0.9009 GB / 2.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/7.376, allocations: 24.48 kB / 3.556 GB, free: 0.9009 GB / 2.139 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02255/7.399, allocations: 8.45 MB / 3.564 GB, free: 0.8972 GB / 2.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/7.399, allocations: 43.47 kB / 3.564 GB, free: 0.8972 GB / 2.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/7.399, allocations: 79.19 kB / 3.564 GB, free: 0.8972 GB / 2.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/7.399, allocations: 120.8 kB / 3.565 GB, free: 0.8972 GB / 2.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/7.405, allocations: 1.453 MB / 3.566 GB, free: 0.8969 GB / 2.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002522/7.405, allocations: 174.2 kB / 3.566 GB, free: 0.8968 GB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01462/7.42, allocations: 1.355 MB / 3.567 GB, free: 0.8959 GB / 2.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/7.421, allocations: 400.2 kB / 3.568 GB, free: 0.8958 GB / 2.139 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.011/7.432, allocations: 3.571 MB / 3.571 GB, free: 0.8936 GB / 2.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007274/7.44, allocations: 1.757 MB / 3.573 GB, free: 0.8927 GB / 2.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01791/7.458, allocations: 7.552 MB / 3.58 GB, free: 0.8887 GB / 2.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002422/7.458, allocations: 87.25 kB / 3.58 GB, free: 0.8887 GB / 2.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.552e-05/7.458, allocations: 7.906 kB / 3.58 GB, free: 0.8887 GB / 2.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005011/7.463, allocations: 3.848 MB / 3.584 GB, free: 0.8858 GB / 2.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06005/7.523, allocations: 28.8 MB / 3.612 GB, free: 0.8668 GB / 2.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001939/7.523, allocations: 30.88 kB / 3.612 GB, free: 0.8668 GB / 2.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/7.527, allocations: 0.7709 MB / 3.613 GB, free: 0.8666 GB / 2.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/7.527, allocations: 50.5 kB / 3.613 GB, free: 0.8666 GB / 2.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/7.528, allocations: 163.1 kB / 3.613 GB, free: 0.8665 GB / 2.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.186e-05/7.528, allocations: 66.64 kB / 3.613 GB, free: 0.8665 GB / 2.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.944e-05/7.528, allocations: 56.61 kB / 3.613 GB, free: 0.8665 GB / 2.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/7.549, allocations: 12.05 MB / 3.625 GB, free: 0.8584 GB / 2.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009508/7.559, allocations: 2.937 MB / 3.628 GB, free: 0.8561 GB / 2.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006236/7.565, allocations: 153.3 kB / 3.628 GB, free: 0.856 GB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01121/7.576, allocations: 265 kB / 3.628 GB, free: 0.8559 GB / 2.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/7.578, allocations: 400.5 kB / 3.629 GB, free: 0.8557 GB / 2.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00116/7.579, allocations: 260.9 kB / 3.629 GB, free: 0.8556 GB / 2.139 GB Notification: Performance of sorting global known variables: time 0.02919/7.608, allocations: 11.88 MB / 3.641 GB, free: 0.8476 GB / 2.139 GB Notification: Performance of sort global known variables: time 1.71e-07/7.608, allocations: 0 / 3.641 GB, free: 0.8476 GB / 2.139 GB Notification: Performance of remove unused functions: time 0.02484/7.633, allocations: 5.438 MB / 3.646 GB, free: 0.8423 GB / 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.01306/7.646, allocations: 4.412 MB / 3.65 GB, free: 0.8384 GB / 2.139 GB Notification: Performance of simCode: created initialization part: time 0.01184/7.658, allocations: 5.466 MB / 3.656 GB, free: 0.8331 GB / 2.139 GB Notification: Performance of simCode: created event and clocks part: time 5.023e-05/7.658, allocations: 12.34 kB / 3.656 GB, free: 0.8331 GB / 2.139 GB Notification: Performance of simCode: created simulation system equations: time 0.004928/7.663, allocations: 2.418 MB / 3.658 GB, free: 0.8307 GB / 2.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0646/7.727, allocations: 10.01 MB / 3.668 GB, free: 0.8214 GB / 2.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06199/7.789, allocations: 28.67 MB / 3.696 GB, free: 0.793 GB / 2.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01568/7.805, allocations: 7.534 MB / 3.703 GB, free: 0.7856 GB / 2.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0046/7.81, allocations: 1.124 MB / 3.704 GB, free: 0.7845 GB / 2.139 GB Notification: Performance of SimCode: time 1.553e-06/7.81, allocations: 0 / 3.704 GB, free: 0.7845 GB / 2.139 GB Notification: Performance of Templates: time 0.4172/8.227, allocations: 321.6 MB / 4.018 GB, free: 482.4 MB / 2.139 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: 79.13347370400152]