Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Experimental.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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.84 kB / 1.061 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6911, allocations: 160.8 MB / 1.218 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.838/3.529, allocations: 1.394 GB / 2.612 GB, free: 75.08 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.4217/3.951, allocations: 338 MB / 2.942 GB, free: 10.56 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04019/3.991, allocations: 1.681 MB / 2.944 GB, free: 8.867 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 1.068/5.059, allocations: 13.7 MB / 2.957 GB, free: 12.54 MB / 1.904 GB Notification: Performance of NFTyping.typeBindings: time 0.08829/5.147, allocations: 34.31 MB / 2.991 GB, free: 12.37 MB / 1.904 GB Notification: Performance of NFTyping.typeClassSections: time 0.04801/5.195, allocations: 20.97 MB / 3.011 GB, free: 11.74 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.08353/5.279, allocations: 59.03 MB / 3.069 GB, free: 11.62 MB / 1.904 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03995/5.319, allocations: 16.92 MB / 3.085 GB, free: 26.36 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06043/5.379, allocations: 26.05 MB / 3.111 GB, free: 25.57 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03995/5.419, allocations: 18.57 MB / 3.129 GB, free: 21.92 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.01135/5.43, allocations: 2.128 MB / 3.131 GB, free: 21.92 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05181/5.482, allocations: 18.51 MB / 3.149 GB, free: 21.89 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01131/5.493, allocations: 5.104 MB / 3.154 GB, free: 20.95 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02937/5.523, allocations: 11.17 MB / 3.165 GB, free: 18 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.08026/5.603, allocations: 42.28 MB / 3.206 GB, free: 6.371 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/5.603, allocations: 7.984 kB / 3.206 GB, free: 6.363 MB / 1.92 GB Notification: Performance of FrontEnd: time 1.964e-06/5.603, allocations: 0 / 3.206 GB, free: 6.363 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.001135/5.604, allocations: 0 / 3.206 GB, free: 6.363 MB / 1.92 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.05848/5.663, allocations: 21.59 MB / 3.227 GB, free: 11.07 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/5.663, allocations: 8.375 kB / 3.227 GB, free: 11.07 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/5.673, allocations: 2.357 MB / 3.23 GB, free: 9.871 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.043/5.716, allocations: 19.1 MB / 3.248 GB, free: 2.695 MB / 1.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008577/5.717, allocations: 0.9772 MB / 3.249 GB, free: 2.664 MB / 1.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004079/5.721, allocations: 1.288 MB / 3.251 GB, free: 2.66 MB / 1.936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03724/5.758, allocations: 14.62 MB / 3.265 GB, free: 14.08 MB / 1.951 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003652/5.759, allocations: 45.92 kB / 3.265 GB, free: 14.07 MB / 1.951 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002399/5.761, allocations: 0.5376 MB / 3.265 GB, free: 14.07 MB / 1.951 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003221/5.762, allocations: 353.2 kB / 3.266 GB, free: 14.06 MB / 1.951 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02124/5.783, allocations: 10.1 MB / 3.276 GB, free: 8.332 MB / 1.951 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.1095/5.892, allocations: 76.73 MB / 3.351 GB, free: 14.52 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008064/5.9, allocations: 4.351 MB / 3.355 GB, free: 9.988 MB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00372/5.904, allocations: 2.312 MB / 3.357 GB, free: 7.609 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09509/5.999, allocations: 51.7 MB / 3.408 GB, free: 12.61 MB / 2.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/5.999, allocations: 117.8 kB / 3.408 GB, free: 12.5 MB / 2.092 GB Notification: Performance of pre-optimization done (n=412): time 6.763e-06/5.999, allocations: 0 / 3.408 GB, free: 12.5 MB / 2.092 GB Notification: Performance of matching and sorting (n=412): time 0.01862/6.018, allocations: 7.076 MB / 3.415 GB, free: 5.477 MB / 2.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005216/6.019, allocations: 0.7841 MB / 3.415 GB, free: 4.523 MB / 2.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04185/6.06, allocations: 16.71 MB / 3.432 GB, free: 3.906 MB / 2.107 GB Notification: Performance of collectPreVariables (initialization): time 0.001343/6.062, allocations: 137.7 kB / 3.432 GB, free: 3.766 MB / 2.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.01309/6.075, allocations: 8.701 MB / 3.44 GB, free: 11.12 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002781/6.078, allocations: 1.531 MB / 3.442 GB, free: 9.609 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003396/6.081, allocations: 1.496 MB / 3.443 GB, free: 8.105 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 0.0001298/6.081, allocations: 307.3 kB / 3.444 GB, free: 7.805 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003793/6.085, allocations: 2.085 MB / 3.446 GB, free: 5.719 MB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007663/6.093, allocations: 5.296 MB / 3.451 GB, free: 15.12 MB / 2.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01072/6.103, allocations: 7.139 MB / 3.458 GB, free: 7.223 MB / 2.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.258e-05/6.103, allocations: 27.94 kB / 3.458 GB, free: 7.195 MB / 2.139 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02082/6.124, allocations: 8.451 MB / 3.466 GB, free: 15.23 MB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 8.748e-05/6.124, allocations: 43.94 kB / 3.466 GB, free: 15.18 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001222/6.124, allocations: 80 kB / 3.466 GB, free: 15.11 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/6.125, allocations: 120.8 kB / 3.466 GB, free: 14.99 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/6.13, allocations: 1.455 MB / 3.468 GB, free: 13.64 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/6.13, allocations: 179.5 kB / 3.468 GB, free: 13.5 MB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01283/6.143, allocations: 1.348 MB / 3.469 GB, free: 12.15 MB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/6.145, allocations: 399.9 kB / 3.47 GB, free: 11.76 MB / 2.154 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.01041/6.155, allocations: 3.57 MB / 3.473 GB, free: 8.285 MB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006102/6.161, allocations: 1.754 MB / 3.475 GB, free: 6.52 MB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/6.179, allocations: 7.726 MB / 3.482 GB, free: 14.99 MB / 2.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001865/6.179, allocations: 83.94 kB / 3.482 GB, free: 14.91 MB / 2.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.049e-05/6.179, allocations: 8 kB / 3.482 GB, free: 14.9 MB / 2.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005235/6.184, allocations: 3.894 MB / 3.486 GB, free: 10.71 MB / 2.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05676/6.241, allocations: 29.01 MB / 3.515 GB, free: 13.58 MB / 2.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.658e-05/6.241, allocations: 32 kB / 3.515 GB, free: 13.55 MB / 2.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/6.244, allocations: 0.7789 MB / 3.515 GB, free: 12.82 MB / 2.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.776e-05/6.244, allocations: 52.56 kB / 3.515 GB, free: 12.77 MB / 2.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003352/6.244, allocations: 155.9 kB / 3.516 GB, free: 12.62 MB / 2.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.096e-05/6.244, allocations: 69.67 kB / 3.516 GB, free: 12.56 MB / 2.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-05/6.244, allocations: 49.12 kB / 3.516 GB, free: 12.53 MB / 2.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01943/6.264, allocations: 12.23 MB / 3.528 GB, free: 15.75 MB / 2.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009357/6.273, allocations: 2.952 MB / 3.53 GB, free: 12.77 MB / 2.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00459/6.278, allocations: 155.7 kB / 3.531 GB, free: 12.62 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008761/6.287, allocations: 251.5 kB / 3.531 GB, free: 12.37 MB / 2.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000772/6.287, allocations: 421.9 kB / 3.531 GB, free: 11.98 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00063/6.288, allocations: 263.8 kB / 3.532 GB, free: 11.73 MB / 2.217 GB Notification: Performance of sorting global known variables: time 0.02745/6.315, allocations: 11.88 MB / 3.543 GB, free: 15.95 MB / 2.232 GB Notification: Performance of sort global known variables: time 4.41e-07/6.315, allocations: 0 / 3.543 GB, free: 15.95 MB / 2.232 GB Notification: Performance of remove unused functions: time 0.02304/6.339, allocations: 5.407 MB / 3.548 GB, free: 10.53 MB / 2.232 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.01417/6.353, allocations: 4.563 MB / 3.553 GB, free: 6.441 MB / 2.232 GB Notification: Performance of simCode: created initialization part: time 0.01171/6.364, allocations: 5.533 MB / 3.558 GB, free: 1.23 MB / 2.232 GB Notification: Performance of simCode: created event and clocks part: time 3.304e-05/6.364, allocations: 8 kB / 3.558 GB, free: 1.223 MB / 2.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/6.369, allocations: 2.464 MB / 3.561 GB, free: 14.92 MB / 2.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05126/6.42, allocations: 10.02 MB / 3.57 GB, free: 5.074 MB / 2.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05977/6.48, allocations: 28.9 MB / 3.599 GB, free: 8.012 MB / 2.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01738/6.497, allocations: 7.776 MB / 3.606 GB, free: 196 kB / 2.279 GB Notification: Performance of simCode: alias equations: time 0.01513/6.513, allocations: 3.257 MB / 3.609 GB, free: 13.03 MB / 2.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003811/6.516, allocations: 1.073 MB / 3.61 GB, free: 11.96 MB / 2.295 GB Notification: Performance of SimCode: time 1.192e-06/6.516, allocations: 0 / 3.61 GB, free: 11.96 MB / 2.295 GB Notification: Performance of Templates: time 2.737/9.253, allocations: 364.2 MB / 3.966 GB, free: 0.521 GB / 2.483 GB " [Timeout remaining time 291] make -j1 -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & ./Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.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.4543328685686]