Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001529/0.001529, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001715/0.001715, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.587/2.587, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) [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.002012/0.002012, allocations: 63.56 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 169.9 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.289/3.636, allocations: 1.398 GB / 2.682 GB, free: 39.75 MB / 1.686 GB Notification: Performance of NFInst.instExpressions: time 1.619/5.255, allocations: 338.5 MB / 3.013 GB, free: 26.02 MB / 1.967 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05228/5.307, allocations: 1.679 MB / 3.014 GB, free: 26.02 MB / 1.967 GB Notification: Performance of NFTyping.typeComponents: time 0.03881/5.346, allocations: 13.71 MB / 3.028 GB, free: 26.02 MB / 1.967 GB Notification: Performance of NFTyping.typeBindings: time 0.1014/5.447, allocations: 34.41 MB / 3.061 GB, free: 25.81 MB / 1.967 GB Notification: Performance of NFTyping.typeClassSections: time 0.05462/5.502, allocations: 20.97 MB / 3.082 GB, free: 25.31 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.09877/5.601, allocations: 58.79 MB / 3.139 GB, free: 25.18 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05381/5.655, allocations: 16.92 MB / 3.156 GB, free: 23.9 MB / 1.967 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07551/5.73, allocations: 26.21 MB / 3.181 GB, free: 22.58 MB / 1.967 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04282/5.773, allocations: 18.58 MB / 3.2 GB, free: 18.92 MB / 1.967 GB Notification: Performance of NFPackage.collectConstants: time 0.01008/5.783, allocations: 2.13 MB / 3.202 GB, free: 18.92 MB / 1.967 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05095/5.834, allocations: 18.79 MB / 3.22 GB, free: 18.69 MB / 1.967 GB Notification: Performance of NFScalarize.scalarize: time 0.0106/5.844, allocations: 5.1 MB / 3.225 GB, free: 17.75 MB / 1.967 GB Notification: Performance of NFVerifyModel.verify: time 0.0273/5.872, allocations: 11.17 MB / 3.236 GB, free: 14.79 MB / 1.967 GB Notification: Performance of NFConvertDAE.convert: time 0.07692/5.949, allocations: 41.94 MB / 3.277 GB, free: 0 / 1.967 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/5.949, allocations: 192 / 3.277 GB, free: 0 / 1.967 GB Notification: Performance of FrontEnd: time 2.074e-06/5.949, allocations: 64 / 3.277 GB, free: 0 / 1.967 GB Notification: Performance of Transformations before backend: time 0.001199/5.95, allocations: 8.031 kB / 3.277 GB, free: 15.99 MB / 1.982 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.06363/6.014, allocations: 21.49 MB / 3.298 GB, free: 4.793 MB / 1.982 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/6.014, allocations: 9 kB / 3.298 GB, free: 4.793 MB / 1.982 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003141/6.014, allocations: 328.6 kB / 3.298 GB, free: 4.766 MB / 1.982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006496/6.02, allocations: 1.639 MB / 3.3 GB, free: 4.352 MB / 1.982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/6.031, allocations: 2.361 MB / 3.302 GB, free: 3.156 MB / 1.982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04215/6.073, allocations: 18.76 MB / 3.32 GB, free: 12.48 MB / 1.998 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/6.074, allocations: 0.9738 MB / 3.321 GB, free: 12.46 MB / 1.998 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005079/6.079, allocations: 1.294 MB / 3.323 GB, free: 12.45 MB / 1.998 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04269/6.122, allocations: 14.62 MB / 3.337 GB, free: 1.805 MB / 1.998 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004182/6.123, allocations: 42.97 kB / 3.337 GB, free: 1.785 MB / 1.998 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003324/6.126, allocations: 0.5312 MB / 3.337 GB, free: 1.254 MB / 1.998 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000355/6.126, allocations: 346.9 kB / 3.338 GB, free: 0.918 MB / 1.998 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/6.15, allocations: 10.09 MB / 3.348 GB, free: 7.059 MB / 2.014 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.1138/6.263, allocations: 76.25 MB / 3.422 GB, free: 8.047 MB / 2.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008152/6.272, allocations: 4.359 MB / 3.426 GB, free: 3.504 MB / 2.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003939/6.276, allocations: 2.293 MB / 3.429 GB, free: 1.148 MB / 2.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0807/6.356, allocations: 22.83 MB / 3.451 GB, free: 10.39 MB / 2.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/6.356, allocations: 126.5 kB / 3.451 GB, free: 10.27 MB / 2.123 GB Notification: Performance of pre-optimization done (n=412): time 8.245e-06/6.357, allocations: 0 / 3.451 GB, free: 10.27 MB / 2.123 GB Notification: Performance of matching and sorting (n=412): time 0.02145/6.378, allocations: 7.08 MB / 3.458 GB, free: 3.242 MB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005087/6.378, allocations: 0.7911 MB / 3.459 GB, free: 2.281 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04655/6.425, allocations: 16.71 MB / 3.475 GB, free: 1.672 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001771/6.427, allocations: 145.7 kB / 3.475 GB, free: 1.523 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.01485/6.442, allocations: 8.685 MB / 3.484 GB, free: 8.836 MB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.003214/6.445, allocations: 1.542 MB / 3.485 GB, free: 7.316 MB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004685/6.45, allocations: 1.496 MB / 3.487 GB, free: 5.812 MB / 2.154 GB Notification: Performance of setup shared object (initialization): time 0.0001403/6.45, allocations: 301.1 kB / 3.487 GB, free: 5.516 MB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004356/6.454, allocations: 2.09 MB / 3.489 GB, free: 3.422 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009322/6.463, allocations: 5.292 MB / 3.494 GB, free: 12.84 MB / 2.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01266/6.476, allocations: 7.128 MB / 3.501 GB, free: 4.945 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/6.476, allocations: 24 kB / 3.501 GB, free: 4.922 MB / 2.17 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02541/6.502, allocations: 8.47 MB / 3.509 GB, free: 12.93 MB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/6.502, allocations: 40 kB / 3.509 GB, free: 12.89 MB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002028/6.502, allocations: 80.05 kB / 3.509 GB, free: 12.82 MB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/6.502, allocations: 124 kB / 3.51 GB, free: 12.7 MB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/6.508, allocations: 1.463 MB / 3.511 GB, free: 11.34 MB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003056/6.509, allocations: 166.2 kB / 3.511 GB, free: 11.21 MB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/6.523, allocations: 1.355 MB / 3.512 GB, free: 9.852 MB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002038/6.525, allocations: 387.9 kB / 3.513 GB, free: 9.473 MB / 2.186 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.01186/6.537, allocations: 3.575 MB / 3.516 GB, free: 6 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007135/6.544, allocations: 1.75 MB / 3.518 GB, free: 4.238 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0203/6.564, allocations: 7.691 MB / 3.526 GB, free: 12.62 MB / 2.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002807/6.565, allocations: 79.94 kB / 3.526 GB, free: 12.54 MB / 2.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/6.565, allocations: 11.94 kB / 3.526 GB, free: 12.53 MB / 2.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006862/6.572, allocations: 3.899 MB / 3.529 GB, free: 8.332 MB / 2.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06878/6.64, allocations: 28.93 MB / 3.558 GB, free: 11.3 MB / 2.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001621/6.641, allocations: 32 kB / 3.558 GB, free: 11.27 MB / 2.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003411/6.644, allocations: 0.7749 MB / 3.558 GB, free: 10.55 MB / 2.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/6.644, allocations: 55.94 kB / 3.559 GB, free: 10.5 MB / 2.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008886/6.645, allocations: 152 kB / 3.559 GB, free: 10.35 MB / 2.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.838e-05/6.645, allocations: 67.88 kB / 3.559 GB, free: 10.29 MB / 2.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-05/6.645, allocations: 55 kB / 3.559 GB, free: 10.25 MB / 2.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02478/6.67, allocations: 12.22 MB / 3.571 GB, free: 13.48 MB / 2.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01/6.68, allocations: 2.854 MB / 3.574 GB, free: 10.61 MB / 2.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005587/6.685, allocations: 159.6 kB / 3.574 GB, free: 10.46 MB / 2.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/6.696, allocations: 263.5 kB / 3.574 GB, free: 10.2 MB / 2.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/6.697, allocations: 418.6 kB / 3.574 GB, free: 9.816 MB / 2.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001311/6.699, allocations: 255.9 kB / 3.575 GB, free: 9.566 MB / 2.248 GB Notification: Performance of sorting global known variables: time 0.03101/6.73, allocations: 11.88 MB / 3.586 GB, free: 13.79 MB / 2.264 GB Notification: Performance of sort global known variables: time 1.9e-07/6.73, allocations: 0 / 3.586 GB, free: 13.79 MB / 2.264 GB Notification: Performance of remove unused functions: time 0.02279/6.752, allocations: 5.426 MB / 3.591 GB, free: 8.352 MB / 2.264 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.03762/6.79, allocations: 17.03 MB / 3.608 GB, free: 7.199 MB / 2.279 GB Notification: Performance of simCode: created initialization part: time 0.01309/6.803, allocations: 5.512 MB / 3.613 GB, free: 2 MB / 2.279 GB Notification: Performance of simCode: created event and clocks part: time 4.767e-05/6.803, allocations: 15.81 kB / 3.613 GB, free: 1.984 MB / 2.279 GB Notification: Performance of simCode: created simulation system equations: time 0.005408/6.809, allocations: 2.469 MB / 3.616 GB, free: 15.68 MB / 2.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06107/6.87, allocations: 10.01 MB / 3.626 GB, free: 5.832 MB / 2.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2854/7.155, allocations: 118.8 MB / 3.742 GB, free: 11.63 MB / 2.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01546/7.17, allocations: 7.787 MB / 3.749 GB, free: 3.801 MB / 2.42 GB Notification: Performance of simCode: alias equations: time 0.01614/7.187, allocations: 3.243 MB / 3.752 GB, free: 0.582 MB / 2.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0157/7.202, allocations: 8.055 MB / 3.76 GB, free: 8.527 MB / 2.436 GB Notification: Performance of SimCode: time 1.062e-06/7.202, allocations: 0 / 3.76 GB, free: 8.527 MB / 2.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.901/9.103, allocations: 0.5017 GB / 4.262 GB, free: 1.18 GB / 2.561 GB Notification: Performance of buildModelFMU: Generate platform static: time 66.19/75.29, allocations: 7.984 kB / 4.262 GB, free: 1.18 GB / 2.561 GB " [Timeout remaining time 224] (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 87.042698150035]