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.001369/0.001369, allocations: 123.8 kB / 17.17 MB, free: 5.918 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.001459/0.001459, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.812/2.812, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 GB " [Timeout remaining time 177] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.003315/0.003315, allocations: 75.89 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9133/0.9166, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.244/4.16, allocations: 1.386 GB / 2.726 GB, free: 128.9 MB / 1.857 GB Notification: Performance of NFInst.instExpressions: time 0.3396/4.5, allocations: 336.3 MB / 3.055 GB, free: 57.51 MB / 1.857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05508/4.555, allocations: 1.696 MB / 3.057 GB, free: 55.84 MB / 1.857 GB Notification: Performance of NFTyping.typeComponents: time 0.03846/4.593, allocations: 13.66 MB / 3.07 GB, free: 42.59 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 0.09417/4.687, allocations: 33.81 MB / 3.103 GB, free: 9.336 MB / 1.857 GB Notification: Performance of NFTyping.typeClassSections: time 0.05177/4.739, allocations: 19.86 MB / 3.122 GB, free: 5.637 MB / 1.873 GB Notification: Performance of NFFlatten.flatten: time 0.08957/4.829, allocations: 57.75 MB / 3.179 GB, free: 11.75 MB / 1.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04274/4.872, allocations: 18.07 MB / 3.196 GB, free: 9.516 MB / 1.951 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0743/4.946, allocations: 28.43 MB / 3.224 GB, free: 13.02 MB / 1.982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04157/4.987, allocations: 18.25 MB / 3.242 GB, free: 10.68 MB / 1.998 GB Notification: Performance of NFPackage.collectConstants: time 0.01007/4.997, allocations: 2.133 MB / 3.244 GB, free: 8.547 MB / 1.998 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04982/5.047, allocations: 18.43 MB / 3.262 GB, free: 6.094 MB / 2.014 GB Notification: Performance of NFScalarize.scalarize: time 0.01056/5.058, allocations: 5.094 MB / 3.267 GB, free: 0.9805 MB / 2.014 GB Notification: Performance of NFVerifyModel.verify: time 0.02757/5.085, allocations: 11.2 MB / 3.278 GB, free: 5.723 MB / 2.029 GB Notification: Performance of NFConvertDAE.convert: time 0.08303/5.168, allocations: 41.58 MB / 3.319 GB, free: 12.02 MB / 2.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/5.168, allocations: 0 / 3.319 GB, free: 12.02 MB / 2.076 GB Notification: Performance of FrontEnd: time 2.434e-06/5.168, allocations: 0 / 3.319 GB, free: 12.02 MB / 2.076 GB Notification: Performance of Transformations before backend: time 0.001195/5.17, allocations: 0 / 3.319 GB, free: 12.02 MB / 2.076 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.05224/5.222, allocations: 21.6 MB / 3.34 GB, free: 6.145 MB / 2.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/5.222, allocations: 12.03 kB / 3.34 GB, free: 6.133 MB / 2.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003427/5.222, allocations: 329.3 kB / 3.34 GB, free: 5.809 MB / 2.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004945/5.227, allocations: 1.63 MB / 3.342 GB, free: 4.168 MB / 2.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009596/5.237, allocations: 2.369 MB / 3.344 GB, free: 1.785 MB / 2.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03855/5.275, allocations: 19.15 MB / 3.363 GB, free: 14.53 MB / 2.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/5.276, allocations: 0.9738 MB / 3.363 GB, free: 13.55 MB / 2.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003993/5.28, allocations: 1.297 MB / 3.365 GB, free: 12.26 MB / 2.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03504/5.315, allocations: 14.61 MB / 3.379 GB, free: 12.88 MB / 2.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003032/5.316, allocations: 47.58 kB / 3.379 GB, free: 12.83 MB / 2.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/5.318, allocations: 0.539 MB / 3.38 GB, free: 12.29 MB / 2.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00033/5.318, allocations: 340 kB / 3.38 GB, free: 11.96 MB / 2.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/5.339, allocations: 10.1 MB / 3.39 GB, free: 1.852 MB / 2.139 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.7586/6.098, allocations: 76.68 MB / 3.465 GB, free: 0.978 GB / 2.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007095/6.105, allocations: 4.352 MB / 3.469 GB, free: 0.9759 GB / 2.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/6.108, allocations: 2.305 MB / 3.471 GB, free: 0.9749 GB / 2.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08337/6.192, allocations: 56.07 MB / 3.526 GB, free: 0.9331 GB / 2.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/6.192, allocations: 116.5 kB / 3.526 GB, free: 0.933 GB / 2.154 GB Notification: Performance of pre-optimization done (n=412): time 7.214e-06/6.192, allocations: 0 / 3.526 GB, free: 0.933 GB / 2.154 GB Notification: Performance of matching and sorting (n=412): time 0.01691/6.209, allocations: 7.099 MB / 3.533 GB, free: 0.9302 GB / 2.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002053/6.209, allocations: 0.785 MB / 3.534 GB, free: 0.9293 GB / 2.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03292/6.242, allocations: 16.72 MB / 3.55 GB, free: 0.9211 GB / 2.154 GB Notification: Performance of collectPreVariables (initialization): time 0.001302/6.243, allocations: 145.1 kB / 3.55 GB, free: 0.921 GB / 2.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.008068/6.251, allocations: 8.694 MB / 3.559 GB, free: 0.914 GB / 2.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.002029/6.253, allocations: 1.534 MB / 3.56 GB, free: 0.9128 GB / 2.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/6.255, allocations: 1.502 MB / 3.562 GB, free: 0.912 GB / 2.154 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/6.256, allocations: 301.1 kB / 3.562 GB, free: 0.9117 GB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002653/6.258, allocations: 2.082 MB / 3.564 GB, free: 0.9106 GB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00456/6.263, allocations: 5.289 MB / 3.569 GB, free: 0.9057 GB / 2.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00679/6.27, allocations: 7.13 MB / 3.576 GB, free: 0.9002 GB / 2.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.993e-05/6.27, allocations: 19.59 kB / 3.576 GB, free: 0.9002 GB / 2.154 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01531/6.285, allocations: 8.461 MB / 3.584 GB, free: 0.8961 GB / 2.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/6.285, allocations: 43.34 kB / 3.584 GB, free: 0.8961 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.703e-05/6.285, allocations: 82.94 kB / 3.584 GB, free: 0.896 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/6.285, allocations: 118.7 kB / 3.585 GB, free: 0.896 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/6.289, allocations: 1.453 MB / 3.586 GB, free: 0.8957 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001206/6.289, allocations: 169.6 kB / 3.586 GB, free: 0.8957 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/6.301, allocations: 1.353 MB / 3.588 GB, free: 0.8948 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/6.303, allocations: 399.9 kB / 3.588 GB, free: 0.8947 GB / 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.007894/6.31, allocations: 3.581 MB / 3.591 GB, free: 0.8924 GB / 2.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005218/6.316, allocations: 1.749 MB / 3.593 GB, free: 0.8915 GB / 2.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/6.328, allocations: 7.553 MB / 3.6 GB, free: 0.8875 GB / 2.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.566e-05/6.329, allocations: 83.25 kB / 3.601 GB, free: 0.8875 GB / 2.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/6.329, allocations: 9.812 kB / 3.601 GB, free: 0.8875 GB / 2.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003075/6.332, allocations: 3.844 MB / 3.604 GB, free: 0.8846 GB / 2.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04219/6.374, allocations: 28.8 MB / 3.632 GB, free: 0.8656 GB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/6.374, allocations: 36.97 kB / 3.632 GB, free: 0.8656 GB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/6.376, allocations: 0.7791 MB / 3.633 GB, free: 0.8655 GB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-05/6.376, allocations: 51.75 kB / 3.633 GB, free: 0.8655 GB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/6.377, allocations: 156.3 kB / 3.633 GB, free: 0.8654 GB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.753e-05/6.377, allocations: 74.47 kB / 3.634 GB, free: 0.8654 GB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-05/6.377, allocations: 51.78 kB / 3.634 GB, free: 0.8653 GB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/6.391, allocations: 12.06 MB / 3.645 GB, free: 0.8558 GB / 2.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007832/6.399, allocations: 2.932 MB / 3.648 GB, free: 0.8529 GB / 2.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004327/6.403, allocations: 151.7 kB / 3.648 GB, free: 0.8528 GB / 2.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008837/6.412, allocations: 271 kB / 3.649 GB, free: 0.8525 GB / 2.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/6.412, allocations: 394.7 kB / 3.649 GB, free: 0.8521 GB / 2.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005054/6.413, allocations: 267.8 kB / 3.649 GB, free: 0.8519 GB / 2.154 GB Notification: Performance of sorting global known variables: time 0.0185/6.431, allocations: 11.88 MB / 3.661 GB, free: 0.8404 GB / 2.154 GB Notification: Performance of sort global known variables: time 1.7e-07/6.431, allocations: 0 / 3.661 GB, free: 0.8404 GB / 2.154 GB Notification: Performance of remove unused functions: time 0.01823/6.45, allocations: 5.43 MB / 3.666 GB, free: 0.8351 GB / 2.154 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.02396/6.473, allocations: 16.85 MB / 3.683 GB, free: 0.8184 GB / 2.154 GB Notification: Performance of simCode: created initialization part: time 0.008526/6.482, allocations: 5.475 MB / 3.688 GB, free: 0.8131 GB / 2.154 GB Notification: Performance of simCode: created event and clocks part: time 3.61e-05/6.482, allocations: 15.28 kB / 3.688 GB, free: 0.8131 GB / 2.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003217/6.485, allocations: 2.413 MB / 3.69 GB, free: 0.8107 GB / 2.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04754/6.533, allocations: 10.01 MB / 3.7 GB, free: 0.8016 GB / 2.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.191/6.724, allocations: 118.9 MB / 3.816 GB, free: 0.681 GB / 2.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007969/6.732, allocations: 7.784 MB / 3.824 GB, free: 0.6734 GB / 2.154 GB Notification: Performance of simCode: alias equations: time 0.01299/6.745, allocations: 3.251 MB / 3.827 GB, free: 0.6704 GB / 2.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0112/6.756, allocations: 8.072 MB / 3.835 GB, free: 0.6625 GB / 2.154 GB Notification: Performance of SimCode: time 1.222e-06/6.756, allocations: 0 / 3.835 GB, free: 0.6625 GB / 2.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5831/7.339, allocations: 0.4968 GB / 4.332 GB, free: 171.5 MB / 2.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 71.56/78.9, allocations: 11.98 kB / 4.332 GB, free: 171.4 MB / 2.154 GB " [Timeout remaining time 221] (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 298] Reference file matches [Calling sys.exit(0), Time elapsed: 90.41254404402571]