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.001359/0.001359, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001634/0.001634, allocations: 218.9 kB / 22.26 MB, free: 5.125 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.133/3.133, allocations: 0.49 GB / 0.7951 GB, free: 33.25 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.002068/0.002068, allocations: 64.14 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.893/3.243, allocations: 1.4 GB / 2.726 GB, free: 12.08 MB / 1.717 GB Notification: Performance of NFInst.instExpressions: time 1.668/4.911, allocations: 338.6 MB / 3.057 GB, free: 39.3 MB / 1.998 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05157/4.963, allocations: 1.696 MB / 3.058 GB, free: 39.3 MB / 1.998 GB Notification: Performance of NFTyping.typeComponents: time 0.03903/5.002, allocations: 13.71 MB / 3.072 GB, free: 39.29 MB / 1.998 GB Notification: Performance of NFTyping.typeBindings: time 0.09408/5.096, allocations: 34.28 MB / 3.105 GB, free: 39.06 MB / 1.998 GB Notification: Performance of NFTyping.typeClassSections: time 0.04957/5.145, allocations: 20.97 MB / 3.126 GB, free: 38.38 MB / 1.998 GB Notification: Performance of NFFlatten.flatten: time 0.09115/5.237, allocations: 58.69 MB / 3.183 GB, free: 38.24 MB / 1.998 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0425/5.279, allocations: 16.94 MB / 3.199 GB, free: 36.92 MB / 1.998 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07116/5.35, allocations: 28.86 MB / 3.228 GB, free: 35.31 MB / 1.998 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0386/5.389, allocations: 18.27 MB / 3.245 GB, free: 31.65 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.009914/5.399, allocations: 2.129 MB / 3.248 GB, free: 31.65 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05153/5.45, allocations: 18.69 MB / 3.266 GB, free: 31.42 MB / 1.998 GB Notification: Performance of NFScalarize.scalarize: time 0.01335/5.464, allocations: 5.1 MB / 3.271 GB, free: 30.48 MB / 1.998 GB Notification: Performance of NFVerifyModel.verify: time 0.03349/5.497, allocations: 11.21 MB / 3.282 GB, free: 27.52 MB / 1.998 GB Notification: Performance of NFConvertDAE.convert: time 0.08353/5.581, allocations: 41.58 MB / 3.322 GB, free: 8.754 MB / 1.998 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/5.581, allocations: 0 / 3.322 GB, free: 8.754 MB / 1.998 GB Notification: Performance of FrontEnd: time 2.013e-06/5.581, allocations: 0 / 3.322 GB, free: 8.754 MB / 1.998 GB Notification: Performance of Transformations before backend: time 0.001305/5.582, allocations: 0 / 3.322 GB, free: 8.754 MB / 1.998 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.06118/5.643, allocations: 21.54 MB / 3.343 GB, free: 13.56 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/5.643, allocations: 8.812 kB / 3.343 GB, free: 13.56 MB / 2.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007155/5.65, allocations: 1.64 MB / 3.345 GB, free: 13.14 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/5.662, allocations: 2.357 MB / 3.347 GB, free: 11.88 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04542/5.707, allocations: 18.9 MB / 3.366 GB, free: 13.13 MB / 2.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/5.709, allocations: 0.9819 MB / 3.367 GB, free: 12.15 MB / 2.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005483/5.714, allocations: 1.291 MB / 3.368 GB, free: 10.86 MB / 2.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0451/5.759, allocations: 14.61 MB / 3.382 GB, free: 11.6 MB / 2.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00063/5.76, allocations: 40.19 kB / 3.382 GB, free: 11.59 MB / 2.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004572/5.764, allocations: 0.5351 MB / 3.383 GB, free: 11.05 MB / 2.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004494/5.765, allocations: 351.3 kB / 3.383 GB, free: 10.71 MB / 2.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02611/5.791, allocations: 10.09 MB / 3.393 GB, free: 0.8516 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.1175/5.908, allocations: 76.26 MB / 3.467 GB, free: 1.816 MB / 2.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008202/5.917, allocations: 4.358 MB / 3.472 GB, free: 13.28 MB / 2.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003914/5.92, allocations: 2.287 MB / 3.474 GB, free: 10.93 MB / 2.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07478/5.995, allocations: 22.83 MB / 3.496 GB, free: 4.168 MB / 2.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/5.995, allocations: 120.2 kB / 3.496 GB, free: 4.051 MB / 2.154 GB Notification: Performance of pre-optimization done (n=412): time 1.846e-05/5.995, allocations: 0 / 3.496 GB, free: 4.051 MB / 2.154 GB Notification: Performance of matching and sorting (n=412): time 0.01903/6.015, allocations: 7.086 MB / 3.503 GB, free: 13.02 MB / 2.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004286/6.015, allocations: 0.7908 MB / 3.504 GB, free: 12.06 MB / 2.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04239/6.057, allocations: 16.75 MB / 3.52 GB, free: 11.41 MB / 2.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001449/6.059, allocations: 141.6 kB / 3.52 GB, free: 11.26 MB / 2.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.01532/6.074, allocations: 8.694 MB / 3.529 GB, free: 2.566 MB / 2.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.004355/6.078, allocations: 1.529 MB / 3.53 GB, free: 1.059 MB / 2.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007784/6.086, allocations: 1.504 MB / 3.532 GB, free: 15.55 MB / 2.201 GB Notification: Performance of setup shared object (initialization): time 0.0001263/6.086, allocations: 301.1 kB / 3.532 GB, free: 15.25 MB / 2.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004929/6.091, allocations: 2.088 MB / 3.534 GB, free: 13.16 MB / 2.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008505/6.1, allocations: 5.293 MB / 3.539 GB, free: 6.574 MB / 2.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/6.11, allocations: 7.133 MB / 3.546 GB, free: 14.68 MB / 2.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/6.111, allocations: 24 kB / 3.546 GB, free: 14.65 MB / 2.217 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02043/6.131, allocations: 8.467 MB / 3.555 GB, free: 6.668 MB / 2.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/6.131, allocations: 40 kB / 3.555 GB, free: 6.629 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/6.131, allocations: 80 kB / 3.555 GB, free: 6.551 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/6.131, allocations: 120.2 kB / 3.555 GB, free: 6.434 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/6.137, allocations: 1.463 MB / 3.556 GB, free: 5.082 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002305/6.137, allocations: 165.6 kB / 3.557 GB, free: 4.953 MB / 2.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/6.149, allocations: 1.361 MB / 3.558 GB, free: 3.586 MB / 2.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/6.151, allocations: 387.9 kB / 3.558 GB, free: 3.207 MB / 2.217 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.01066/6.162, allocations: 3.576 MB / 3.562 GB, free: 15.72 MB / 2.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006684/6.168, allocations: 1.754 MB / 3.563 GB, free: 13.96 MB / 2.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/6.186, allocations: 7.702 MB / 3.571 GB, free: 6.336 MB / 2.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002052/6.186, allocations: 79.95 kB / 3.571 GB, free: 6.258 MB / 2.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-05/6.186, allocations: 11.94 kB / 3.571 GB, free: 6.246 MB / 2.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005092/6.192, allocations: 3.878 MB / 3.575 GB, free: 2.066 MB / 2.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06044/6.252, allocations: 28.96 MB / 3.603 GB, free: 5.012 MB / 2.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001355/6.252, allocations: 28 kB / 3.603 GB, free: 4.984 MB / 2.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/6.255, allocations: 0.776 MB / 3.604 GB, free: 4.258 MB / 2.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.981e-05/6.255, allocations: 48 kB / 3.604 GB, free: 4.211 MB / 2.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006596/6.256, allocations: 152 kB / 3.604 GB, free: 4.062 MB / 2.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.248e-05/6.256, allocations: 75.41 kB / 3.604 GB, free: 4.004 MB / 2.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.098e-05/6.256, allocations: 51.34 kB / 3.604 GB, free: 3.965 MB / 2.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/6.277, allocations: 12.23 MB / 3.616 GB, free: 7.191 MB / 2.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009406/6.286, allocations: 2.862 MB / 3.619 GB, free: 4.316 MB / 2.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005056/6.291, allocations: 155.7 kB / 3.619 GB, free: 4.164 MB / 2.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00951/6.301, allocations: 263.4 kB / 3.619 GB, free: 3.906 MB / 2.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000828/6.301, allocations: 415.2 kB / 3.62 GB, free: 3.527 MB / 2.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000896/6.302, allocations: 259.8 kB / 3.62 GB, free: 3.273 MB / 2.279 GB Notification: Performance of sorting global known variables: time 0.02812/6.33, allocations: 11.91 MB / 3.632 GB, free: 7.469 MB / 2.295 GB Notification: Performance of sort global known variables: time 2.71e-07/6.33, allocations: 0 / 3.632 GB, free: 7.469 MB / 2.295 GB Notification: Performance of remove unused functions: time 0.0211/6.352, allocations: 5.426 MB / 3.637 GB, free: 2.031 MB / 2.295 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.0311/6.383, allocations: 17.03 MB / 3.654 GB, free: 0.8711 MB / 2.311 GB Notification: Performance of simCode: created initialization part: time 0.01086/6.393, allocations: 5.514 MB / 3.659 GB, free: 11.67 MB / 2.326 GB Notification: Performance of simCode: created event and clocks part: time 3.212e-05/6.393, allocations: 15.88 kB / 3.659 GB, free: 11.66 MB / 2.326 GB Notification: Performance of simCode: created simulation system equations: time 0.004222/6.398, allocations: 2.47 MB / 3.661 GB, free: 9.348 MB / 2.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05054/6.448, allocations: 9.999 MB / 3.671 GB, free: 15.52 MB / 2.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2826/6.731, allocations: 119 MB / 3.787 GB, free: 4.961 MB / 2.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01692/6.748, allocations: 7.784 MB / 3.795 GB, free: 13.13 MB / 2.467 GB Notification: Performance of simCode: alias equations: time 0.01813/6.766, allocations: 3.244 MB / 3.798 GB, free: 9.906 MB / 2.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01655/6.782, allocations: 8.075 MB / 3.806 GB, free: 1.828 MB / 2.467 GB Notification: Performance of SimCode: time 1.183e-06/6.782, allocations: 0 / 3.806 GB, free: 1.828 MB / 2.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.018/8.8, allocations: 0.5021 GB / 4.308 GB, free: 1.126 GB / 2.576 GB Notification: Performance of buildModelFMU: Generate platform static: time 75.11/83.91, allocations: 0 / 4.308 GB, free: 1.126 GB / 2.576 GB " [Timeout remaining time 216] (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: 94.2768800270278]