Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001752/0.001752, 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.002297/0.002297, allocations: 214.4 kB / 22.25 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.378/3.378, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",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.002208/0.002208, allocations: 71.62 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3659, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.25/3.616, allocations: 1.261 GB / 2.624 GB, free: 123 MB / 1.764 GB Notification: Performance of NFInst.instExpressions: time 0.4138/4.029, allocations: 312.5 MB / 2.929 GB, free: 13.27 MB / 1.951 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0485/4.078, allocations: 1.692 MB / 2.931 GB, free: 11.56 MB / 1.951 GB Notification: Performance of NFTyping.typeComponents: time 0.04546/4.123, allocations: 13.44 MB / 2.944 GB, free: 14.03 MB / 1.967 GB Notification: Performance of NFTyping.typeBindings: time 0.1155/4.239, allocations: 33.92 MB / 2.977 GB, free: 11.99 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.06048/4.299, allocations: 20.2 MB / 2.997 GB, free: 7.953 MB / 2.014 GB Notification: Performance of NFFlatten.flatten: time 0.09743/4.397, allocations: 58.37 MB / 3.054 GB, free: 13.43 MB / 2.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05072/4.448, allocations: 16.7 MB / 3.07 GB, free: 12.55 MB / 2.092 GB Notification: Performance of NFEvalConstants.evaluate: time 2.56/7.007, allocations: 29.04 MB / 3.099 GB, free: 57.13 MB / 2.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04429/7.051, allocations: 17.6 MB / 3.116 GB, free: 56.29 MB / 2.092 GB Notification: Performance of NFPackage.collectConstants: time 0.01316/7.065, allocations: 2.13 MB / 3.118 GB, free: 56.29 MB / 2.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05591/7.12, allocations: 15.57 MB / 3.133 GB, free: 56.28 MB / 2.092 GB Notification: Performance of NFScalarize.scalarize: time 0.01431/7.135, allocations: 5.108 MB / 3.138 GB, free: 56.17 MB / 2.092 GB Notification: Performance of NFVerifyModel.verify: time 0.02853/7.163, allocations: 8.726 MB / 3.147 GB, free: 53.95 MB / 2.092 GB Notification: Performance of NFConvertDAE.convert: time 0.08911/7.252, allocations: 41.27 MB / 3.187 GB, free: 49.63 MB / 2.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/7.252, allocations: 0 / 3.187 GB, free: 49.63 MB / 2.092 GB Notification: Performance of FrontEnd: time 1.953e-06/7.252, allocations: 0 / 3.187 GB, free: 49.63 MB / 2.092 GB Notification: Performance of Transformations before backend: time 0.001403/7.254, allocations: 0 / 3.187 GB, free: 49.63 MB / 2.092 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.08315/7.337, allocations: 21.5 MB / 3.208 GB, free: 40.59 MB / 2.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/7.337, allocations: 8.344 kB / 3.208 GB, free: 40.59 MB / 2.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008394/7.345, allocations: 1.639 MB / 3.21 GB, free: 40.47 MB / 2.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01303/7.358, allocations: 2.363 MB / 3.212 GB, free: 39.31 MB / 2.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04921/7.408, allocations: 18.9 MB / 3.23 GB, free: 36.1 MB / 2.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001484/7.409, allocations: 0.9718 MB / 3.231 GB, free: 36.07 MB / 2.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006041/7.415, allocations: 1.296 MB / 3.233 GB, free: 36.06 MB / 2.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05161/7.467, allocations: 17.06 MB / 3.249 GB, free: 30.74 MB / 2.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007895/7.468, allocations: 47.23 kB / 3.249 GB, free: 30.74 MB / 2.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004317/7.472, allocations: 0.5328 MB / 3.25 GB, free: 30.74 MB / 2.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003255/7.472, allocations: 346.5 kB / 3.25 GB, free: 30.74 MB / 2.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/7.495, allocations: 10.08 MB / 3.26 GB, free: 30.68 MB / 2.092 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.1063/7.602, allocations: 59.85 MB / 3.318 GB, free: 20.54 MB / 2.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007602/7.609, allocations: 4.342 MB / 3.323 GB, free: 19.86 MB / 2.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004335/7.614, allocations: 2.295 MB / 3.325 GB, free: 19.63 MB / 2.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07978/7.693, allocations: 22.89 MB / 3.347 GB, free: 18.09 MB / 2.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/7.694, allocations: 122.4 kB / 3.347 GB, free: 18.05 MB / 2.108 GB Notification: Performance of pre-optimization done (n=412): time 8.476e-06/7.694, allocations: 0 / 3.347 GB, free: 18.05 MB / 2.108 GB Notification: Performance of matching and sorting (n=412): time 0.02165/7.715, allocations: 7.094 MB / 3.354 GB, free: 16.98 MB / 2.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001124/7.716, allocations: 0.793 MB / 3.355 GB, free: 32.07 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05314/7.77, allocations: 16.88 MB / 3.372 GB, free: 30.93 MB / 2.123 GB Notification: Performance of collectPreVariables (initialization): time 0.00173/7.771, allocations: 143.8 kB / 3.372 GB, free: 30.9 MB / 2.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.01469/7.786, allocations: 8.694 MB / 3.38 GB, free: 28.94 MB / 2.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.003398/7.789, allocations: 1.528 MB / 3.382 GB, free: 27.96 MB / 2.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007781/7.797, allocations: 1.494 MB / 3.383 GB, free: 27.84 MB / 2.123 GB Notification: Performance of setup shared object (initialization): time 0.0001409/7.797, allocations: 308.5 kB / 3.383 GB, free: 27.54 MB / 2.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004861/7.802, allocations: 2.085 MB / 3.385 GB, free: 27.52 MB / 2.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/7.813, allocations: 9.603 MB / 3.395 GB, free: 18.67 MB / 2.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/7.823, allocations: 7.144 MB / 3.402 GB, free: 15.67 MB / 2.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001884/7.823, allocations: 29.09 kB / 3.402 GB, free: 15.66 MB / 2.123 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02211/7.845, allocations: 8.453 MB / 3.41 GB, free: 14.57 MB / 2.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/7.845, allocations: 46.25 kB / 3.41 GB, free: 14.57 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002302/7.845, allocations: 79.03 kB / 3.41 GB, free: 14.57 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/7.846, allocations: 120.9 kB / 3.41 GB, free: 14.57 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/7.852, allocations: 1.455 MB / 3.412 GB, free: 14.57 MB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002764/7.852, allocations: 174.7 kB / 3.412 GB, free: 14.57 MB / 2.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01698/7.869, allocations: 1.357 MB / 3.413 GB, free: 13.81 MB / 2.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002646/7.872, allocations: 394.1 kB / 3.414 GB, free: 13.81 MB / 2.123 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.01302/7.885, allocations: 3.578 MB / 3.417 GB, free: 13.63 MB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007917/7.893, allocations: 1.753 MB / 3.419 GB, free: 12.67 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/7.913, allocations: 7.713 MB / 3.426 GB, free: 12.19 MB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002447/7.913, allocations: 82.75 kB / 3.426 GB, free: 12.19 MB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.676e-05/7.913, allocations: 17.89 kB / 3.426 GB, free: 12.18 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005668/7.919, allocations: 3.892 MB / 3.43 GB, free: 10.44 MB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.066/7.985, allocations: 27.03 MB / 3.457 GB, free: 6.34 MB / 2.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001763/7.985, allocations: 30.16 kB / 3.457 GB, free: 6.34 MB / 2.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003402/7.989, allocations: 0.776 MB / 3.457 GB, free: 6.34 MB / 2.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/7.989, allocations: 51.84 kB / 3.457 GB, free: 6.34 MB / 2.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001186/7.99, allocations: 159.4 kB / 3.458 GB, free: 6.336 MB / 2.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-05/7.99, allocations: 68.83 kB / 3.458 GB, free: 6.336 MB / 2.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.549e-05/7.99, allocations: 47.38 kB / 3.458 GB, free: 6.336 MB / 2.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/8.014, allocations: 12.22 MB / 3.47 GB, free: 1.363 MB / 2.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01107/8.025, allocations: 2.864 MB / 3.472 GB, free: 15.93 MB / 2.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008132/8.033, allocations: 157 kB / 3.473 GB, free: 15.9 MB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01317/8.046, allocations: 257.2 kB / 3.473 GB, free: 15.82 MB / 2.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/8.048, allocations: 417.3 kB / 3.473 GB, free: 15.64 MB / 2.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001722/8.05, allocations: 259.3 kB / 3.473 GB, free: 15.61 MB / 2.139 GB Notification: Performance of sorting global known variables: time 0.03456/8.084, allocations: 11.91 MB / 3.485 GB, free: 10.85 MB / 2.139 GB Notification: Performance of sort global known variables: time 1.9e-07/8.084, allocations: 0 / 3.485 GB, free: 10.85 MB / 2.139 GB Notification: Performance of remove unused functions: time 0.02726/8.112, allocations: 5.434 MB / 3.49 GB, free: 5.898 MB / 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.04506/8.157, allocations: 17.01 MB / 3.507 GB, free: 7.852 MB / 2.154 GB Notification: Performance of simCode: created initialization part: time 0.01389/8.171, allocations: 5.52 MB / 3.512 GB, free: 4.254 MB / 2.154 GB Notification: Performance of simCode: created event and clocks part: time 9.694e-05/8.171, allocations: 8 kB / 3.512 GB, free: 4.246 MB / 2.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005861/8.177, allocations: 2.476 MB / 3.515 GB, free: 2.641 MB / 2.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06379/8.24, allocations: 10.03 MB / 3.525 GB, free: 10.46 MB / 2.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3345/8.575, allocations: 118.9 MB / 3.641 GB, free: 3.605 MB / 2.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02026/8.595, allocations: 7.549 MB / 3.648 GB, free: 12.01 MB / 2.295 GB Notification: Performance of simCode: alias equations: time 0.01894/8.614, allocations: 3.244 MB / 3.651 GB, free: 8.852 MB / 2.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01747/8.631, allocations: 8.074 MB / 3.659 GB, free: 0.7773 MB / 2.295 GB Notification: Performance of SimCode: time 1.403e-06/8.631, allocations: 0 / 3.659 GB, free: 0.7773 MB / 2.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.537/10.17, allocations: 0.5268 GB / 4.186 GB, free: 1.382 GB / 2.639 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.92/70.09, allocations: 9.203 kB / 4.186 GB, free: 1.382 GB / 2.639 GB " [Timeout remaining time 229] (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 80.67887206096202]