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.001748/0.001748, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002034/0.002034, allocations: 224.3 kB / 22.25 MB, free: 5.102 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.805 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.945/2.945, allocations: 0.49 GB / 0.7951 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_12_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.001908/0.001908, allocations: 71.44 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3242, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.847/3.172, allocations: 1.261 GB / 2.587 GB, free: 125.7 MB / 1.732 GB Notification: Performance of NFInst.instExpressions: time 0.3544/3.526, allocations: 312.5 MB / 2.892 GB, free: 13.46 MB / 1.904 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04611/3.572, allocations: 1.692 MB / 2.893 GB, free: 11.75 MB / 1.904 GB Notification: Performance of NFTyping.typeComponents: time 0.03994/3.612, allocations: 13.44 MB / 2.907 GB, free: 14.23 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.09553/3.708, allocations: 33.97 MB / 2.94 GB, free: 12.14 MB / 1.951 GB Notification: Performance of NFTyping.typeClassSections: time 0.04886/3.756, allocations: 20.43 MB / 2.96 GB, free: 7.797 MB / 1.967 GB Notification: Performance of NFFlatten.flatten: time 0.08384/3.84, allocations: 58.66 MB / 3.017 GB, free: 12.96 MB / 2.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03863/3.879, allocations: 16.95 MB / 3.034 GB, free: 11.85 MB / 2.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276/6.155, allocations: 29.03 MB / 3.062 GB, free: 52.06 MB / 2.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04266/6.197, allocations: 18.26 MB / 3.08 GB, free: 51.23 MB / 2.045 GB Notification: Performance of NFPackage.collectConstants: time 0.01032/6.208, allocations: 2.128 MB / 3.082 GB, free: 51.23 MB / 2.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04548/6.253, allocations: 15.92 MB / 3.097 GB, free: 51.22 MB / 2.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0123/6.265, allocations: 5.106 MB / 3.102 GB, free: 50.89 MB / 2.045 GB Notification: Performance of NFVerifyModel.verify: time 0.02383/6.289, allocations: 8.723 MB / 3.111 GB, free: 48.66 MB / 2.045 GB Notification: Performance of NFConvertDAE.convert: time 0.07191/6.361, allocations: 41.28 MB / 3.151 GB, free: 44.35 MB / 2.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/6.361, allocations: 2.438 kB / 3.151 GB, free: 44.35 MB / 2.045 GB Notification: Performance of FrontEnd: time 1.783e-06/6.361, allocations: 0 / 3.151 GB, free: 44.35 MB / 2.045 GB Notification: Performance of Transformations before backend: time 0.001255/6.362, allocations: 0 / 3.151 GB, free: 44.35 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.06407/6.426, allocations: 21.5 MB / 3.172 GB, free: 35.29 MB / 2.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/6.426, allocations: 11.78 kB / 3.172 GB, free: 35.29 MB / 2.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007888/6.434, allocations: 1.635 MB / 3.174 GB, free: 35.18 MB / 2.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/6.446, allocations: 2.365 MB / 3.176 GB, free: 34.01 MB / 2.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04257/6.488, allocations: 18.9 MB / 3.195 GB, free: 30.8 MB / 2.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/6.489, allocations: 0.9732 MB / 3.195 GB, free: 30.77 MB / 2.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005412/6.495, allocations: 1.301 MB / 3.197 GB, free: 30.76 MB / 2.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04427/6.539, allocations: 17.05 MB / 3.213 GB, free: 25.45 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007413/6.54, allocations: 46.19 kB / 3.213 GB, free: 25.44 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004668/6.544, allocations: 0.5329 MB / 3.214 GB, free: 25.44 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004134/6.545, allocations: 352 kB / 3.214 GB, free: 25.44 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/6.569, allocations: 10.08 MB / 3.224 GB, free: 25.38 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.09666/6.665, allocations: 59.84 MB / 3.283 GB, free: 15.23 MB / 2.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006464/6.672, allocations: 4.349 MB / 3.287 GB, free: 14.55 MB / 2.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/6.675, allocations: 2.281 MB / 3.289 GB, free: 14.33 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0694/6.744, allocations: 22.91 MB / 3.311 GB, free: 12.78 MB / 2.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/6.744, allocations: 122.1 kB / 3.312 GB, free: 12.74 MB / 2.061 GB Notification: Performance of pre-optimization done (n=412): time 7.905e-06/6.744, allocations: 0 / 3.312 GB, free: 12.74 MB / 2.061 GB Notification: Performance of matching and sorting (n=412): time 0.01647/6.761, allocations: 7.084 MB / 3.318 GB, free: 11.7 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003637/6.761, allocations: 0.7879 MB / 3.319 GB, free: 10.79 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03433/6.796, allocations: 16.88 MB / 3.336 GB, free: 25.65 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001366/6.797, allocations: 146.5 kB / 3.336 GB, free: 25.62 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.009538/6.806, allocations: 8.691 MB / 3.344 GB, free: 23.65 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002246/6.809, allocations: 1.534 MB / 3.346 GB, free: 22.67 MB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003082/6.812, allocations: 1.497 MB / 3.347 GB, free: 22.55 MB / 2.076 GB Notification: Performance of setup shared object (initialization): time 0.0001404/6.812, allocations: 301.1 kB / 3.348 GB, free: 22.25 MB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/6.815, allocations: 2.089 MB / 3.35 GB, free: 22.23 MB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007316/6.822, allocations: 9.606 MB / 3.359 GB, free: 13.39 MB / 2.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008709/6.831, allocations: 7.142 MB / 3.366 GB, free: 10.38 MB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/6.831, allocations: 24.75 kB / 3.366 GB, free: 10.38 MB / 2.076 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01906/6.85, allocations: 8.457 MB / 3.374 GB, free: 9.289 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.119e-05/6.85, allocations: 40.75 kB / 3.374 GB, free: 9.289 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/6.85, allocations: 86.33 kB / 3.374 GB, free: 9.289 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/6.851, allocations: 116.8 kB / 3.375 GB, free: 9.289 MB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004676/6.855, allocations: 1.458 MB / 3.376 GB, free: 9.289 MB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/6.855, allocations: 170.6 kB / 3.376 GB, free: 9.289 MB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/6.868, allocations: 1.358 MB / 3.377 GB, free: 8.527 MB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/6.87, allocations: 397.4 kB / 3.378 GB, free: 8.527 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.009906/6.88, allocations: 3.573 MB / 3.381 GB, free: 8.352 MB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006162/6.886, allocations: 1.76 MB / 3.383 GB, free: 7.387 MB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/6.901, allocations: 7.697 MB / 3.391 GB, free: 6.918 MB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001568/6.901, allocations: 79.08 kB / 3.391 GB, free: 6.914 MB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.361e-05/6.901, allocations: 11.62 kB / 3.391 GB, free: 6.914 MB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004193/6.905, allocations: 3.886 MB / 3.394 GB, free: 5.168 MB / 2.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05324/6.958, allocations: 27.03 MB / 3.421 GB, free: 376 kB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.911e-05/6.958, allocations: 31.88 kB / 3.421 GB, free: 376 kB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/6.961, allocations: 0.7715 MB / 3.422 GB, free: 280 kB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.872e-05/6.961, allocations: 53.05 kB / 3.422 GB, free: 276 kB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004503/6.962, allocations: 153.5 kB / 3.422 GB, free: 264 kB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.53e-05/6.962, allocations: 70.34 kB / 3.422 GB, free: 256 kB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-05/6.962, allocations: 51.81 kB / 3.422 GB, free: 252 kB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01839/6.98, allocations: 12.22 MB / 3.434 GB, free: 10.77 MB / 2.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01083/6.991, allocations: 2.873 MB / 3.437 GB, free: 8.699 MB / 2.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005681/6.997, allocations: 157.7 kB / 3.437 GB, free: 8.609 MB / 2.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01031/7.007, allocations: 247.1 kB / 3.437 GB, free: 8.434 MB / 2.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/7.008, allocations: 416.5 kB / 3.437 GB, free: 8.098 MB / 2.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008757/7.009, allocations: 261.7 kB / 3.438 GB, free: 7.887 MB / 2.092 GB Notification: Performance of sorting global known variables: time 0.02812/7.037, allocations: 11.9 MB / 3.449 GB, free: 15.96 MB / 2.108 GB Notification: Performance of sort global known variables: time 1.7e-07/7.037, allocations: 0 / 3.449 GB, free: 15.96 MB / 2.108 GB Notification: Performance of remove unused functions: time 0.02282/7.06, allocations: 5.444 MB / 3.455 GB, free: 11 MB / 2.108 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.03385/7.094, allocations: 17.03 MB / 3.471 GB, free: 12.94 MB / 2.123 GB Notification: Performance of simCode: created initialization part: time 0.01127/7.105, allocations: 5.53 MB / 3.477 GB, free: 9.344 MB / 2.123 GB Notification: Performance of simCode: created event and clocks part: time 5.407e-05/7.105, allocations: 8 kB / 3.477 GB, free: 9.336 MB / 2.123 GB Notification: Performance of simCode: created simulation system equations: time 0.004396/7.11, allocations: 2.468 MB / 3.479 GB, free: 7.73 MB / 2.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0525/7.162, allocations: 10.01 MB / 3.489 GB, free: 15.17 MB / 2.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2708/7.433, allocations: 118.9 MB / 3.605 GB, free: 4.879 MB / 2.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01651/7.449, allocations: 7.544 MB / 3.612 GB, free: 13.29 MB / 2.264 GB Notification: Performance of simCode: alias equations: time 0.01616/7.466, allocations: 3.242 MB / 3.616 GB, free: 10.07 MB / 2.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.016/7.482, allocations: 8.074 MB / 3.623 GB, free: 1.992 MB / 2.264 GB Notification: Performance of SimCode: time 1.593e-06/7.482, allocations: 0 / 3.623 GB, free: 1.992 MB / 2.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.494/8.976, allocations: 0.5295 GB / 4.153 GB, free: 1.346 GB / 2.592 GB Notification: Performance of buildModelFMU: Generate platform static: time 57.89/66.87, allocations: 8.062 kB / 4.153 GB, free: 1.346 GB / 2.592 GB " [Timeout remaining time 233] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 420.0] 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 299] Reference file matches [Calling sys.exit(0), Time elapsed: 76.75821965999785]