Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.0009239, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005651/0.005651, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.488/2.488, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 13.19 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2428, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.87/3.113, allocations: 1.342 GB / 2.401 GB, free: 55.73 MB / 1.498 GB Notification: Performance of NFInst.instExpressions: time 0.3083/3.421, allocations: 331.1 MB / 2.724 GB, free: 5.422 MB / 1.498 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04012/3.461, allocations: 1.055 MB / 2.725 GB, free: 4.359 MB / 1.498 GB Notification: Performance of NFTyping.typeComponents: time 0.03107/3.493, allocations: 10.81 MB / 2.736 GB, free: 9.98 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.08052/3.573, allocations: 29.44 MB / 2.765 GB, free: 1.094 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.04194/3.615, allocations: 18.12 MB / 2.782 GB, free: 0.9805 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.08125/3.696, allocations: 75.89 MB / 2.856 GB, free: 6.996 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03506/3.731, allocations: 18.39 MB / 2.874 GB, free: 4.742 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04372/3.775, allocations: 20.27 MB / 2.894 GB, free: 1.48 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02791/3.803, allocations: 16.92 MB / 2.911 GB, free: 1.703 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004804/3.808, allocations: 0.6289 MB / 2.911 GB, free: 1.074 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03622/3.844, allocations: 15.58 MB / 2.926 GB, free: 2.203 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.006162/3.85, allocations: 3.254 MB / 2.93 GB, free: 15 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.01718/3.868, allocations: 9.338 MB / 2.939 GB, free: 5.684 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 1.773/5.64, allocations: 40.15 MB / 2.978 GB, free: 111.6 MB / 1.733 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/5.64, allocations: 0 / 2.978 GB, free: 111.6 MB / 1.733 GB Notification: Performance of FrontEnd: time 2.445e-06/5.64, allocations: 0.7188 kB / 2.978 GB, free: 111.6 MB / 1.733 GB Notification: Performance of Transformations before backend: time 0.0009827/5.641, allocations: 0 / 2.978 GB, free: 111.6 MB / 1.733 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.04058/5.682, allocations: 16.77 MB / 2.994 GB, free: 105.7 MB / 1.733 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/5.682, allocations: 13.72 kB / 2.994 GB, free: 105.7 MB / 1.733 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004537/5.686, allocations: 1.635 MB / 2.996 GB, free: 105.6 MB / 1.733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009748/5.696, allocations: 2.25 MB / 2.998 GB, free: 104.6 MB / 1.733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03568/5.732, allocations: 18.07 MB / 3.016 GB, free: 101.9 MB / 1.733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/5.733, allocations: 0.9751 MB / 3.017 GB, free: 101.9 MB / 1.733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/5.736, allocations: 1.296 MB / 3.018 GB, free: 101.8 MB / 1.733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/5.763, allocations: 14.48 MB / 3.032 GB, free: 99.77 MB / 1.733 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002492/5.764, allocations: 39.78 kB / 3.032 GB, free: 99.76 MB / 1.733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001123/5.765, allocations: 0.535 MB / 3.033 GB, free: 99.76 MB / 1.733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/5.765, allocations: 344.6 kB / 3.033 GB, free: 99.76 MB / 1.733 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/5.782, allocations: 10.09 MB / 3.043 GB, free: 99.7 MB / 1.733 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.07341/5.856, allocations: 74.82 MB / 3.116 GB, free: 61.12 MB / 1.733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005945/5.862, allocations: 4.571 MB / 3.12 GB, free: 60.42 MB / 1.733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/5.864, allocations: 2.435 MB / 3.123 GB, free: 60.2 MB / 1.733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07171/5.936, allocations: 51.88 MB / 3.173 GB, free: 37.42 MB / 1.748 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/5.936, allocations: 117 kB / 3.174 GB, free: 37.38 MB / 1.748 GB Notification: Performance of pre-optimization done (n=412): time 7.244e-06/5.936, allocations: 0 / 3.174 GB, free: 37.38 MB / 1.748 GB Notification: Performance of matching and sorting (n=412): time 0.01341/5.95, allocations: 6.986 MB / 3.18 GB, free: 36.42 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002728/5.95, allocations: 0.7977 MB / 3.181 GB, free: 35.51 MB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02312/5.973, allocations: 16.44 MB / 3.197 GB, free: 34.49 MB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.001095/5.974, allocations: 141.6 kB / 3.197 GB, free: 34.46 MB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.006358/5.98, allocations: 8.649 MB / 3.206 GB, free: 32.63 MB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.00154/5.982, allocations: 1.465 MB / 3.207 GB, free: 31.71 MB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005718/5.983, allocations: 0.5023 MB / 3.208 GB, free: 31.68 MB / 1.748 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/5.983, allocations: 303.5 kB / 3.208 GB, free: 31.38 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/5.986, allocations: 2.045 MB / 3.21 GB, free: 31.37 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004346/5.99, allocations: 5.089 MB / 3.215 GB, free: 27.99 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00592/5.996, allocations: 6.884 MB / 3.222 GB, free: 25.14 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.978e-05/5.996, allocations: 23.69 kB / 3.222 GB, free: 25.14 MB / 1.748 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01307/6.009, allocations: 8.147 MB / 3.23 GB, free: 24.17 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 5.168e-05/6.009, allocations: 37.53 kB / 3.23 GB, free: 24.17 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.487e-05/6.009, allocations: 74.44 kB / 3.23 GB, free: 24.17 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.701e-05/6.009, allocations: 113.9 kB / 3.23 GB, free: 24.17 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003676/6.013, allocations: 1.409 MB / 3.231 GB, free: 24.17 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001805/6.013, allocations: 159.5 kB / 3.231 GB, free: 24.17 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01629/6.029, allocations: 1.857 MB / 3.233 GB, free: 23.39 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009017/6.03, allocations: 378.1 kB / 3.234 GB, free: 23.39 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.007564/6.038, allocations: 3.559 MB / 3.237 GB, free: 23.22 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004456/6.042, allocations: 1.658 MB / 3.239 GB, free: 22.34 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/6.055, allocations: 7.56 MB / 3.246 GB, free: 21.89 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001672/6.055, allocations: 88.28 kB / 3.246 GB, free: 21.89 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-05/6.055, allocations: 14.97 kB / 3.246 GB, free: 21.89 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003688/6.059, allocations: 3.836 MB / 3.25 GB, free: 20.14 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04378/6.103, allocations: 28.71 MB / 3.278 GB, free: 13 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001266/6.103, allocations: 34.06 kB / 3.278 GB, free: 12.97 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/6.106, allocations: 0.7715 MB / 3.279 GB, free: 12.27 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.714e-05/6.106, allocations: 56 kB / 3.279 GB, free: 12.22 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004491/6.106, allocations: 153.2 kB / 3.279 GB, free: 12.13 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.195e-05/6.106, allocations: 71.33 kB / 3.279 GB, free: 12.08 MB / 1.748 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.21e-05/6.106, allocations: 48.28 kB / 3.279 GB, free: 12.04 MB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/6.122, allocations: 11.96 MB / 3.291 GB, free: 2.484 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008908/6.13, allocations: 3.118 MB / 3.294 GB, free: 280 kB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004671/6.135, allocations: 129 kB / 3.294 GB, free: 216 kB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01082/6.146, allocations: 0.6182 MB / 3.295 GB, free: 15.66 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006303/6.147, allocations: 399.3 kB / 3.295 GB, free: 15.34 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007023/6.147, allocations: 255.8 kB / 3.295 GB, free: 15.14 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.02345/6.171, allocations: 11.7 MB / 3.307 GB, free: 7.328 MB / 1.764 GB Notification: Performance of sort global known variables: time 3.1e-07/6.171, allocations: 0 / 3.307 GB, free: 7.328 MB / 1.764 GB Notification: Performance of remove unused functions: time 0.01962/6.19, allocations: 5.286 MB / 3.312 GB, free: 2.488 MB / 1.764 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.0286/6.219, allocations: 17.07 MB / 3.328 GB, free: 4.348 MB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.009272/6.228, allocations: 5.493 MB / 3.334 GB, free: 0.7617 MB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-05/6.228, allocations: 14.66 kB / 3.334 GB, free: 0.7539 MB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.003549/6.232, allocations: 2.579 MB / 3.336 GB, free: 15.11 MB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.16/6.392, allocations: 12.42 MB / 3.348 GB, free: 6.012 MB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5335/6.926, allocations: 278.4 MB / 3.62 GB, free: 1.656 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01087/6.936, allocations: 7.814 MB / 3.628 GB, free: 9.801 MB / 2.092 GB Notification: Performance of simCode: alias equations: time 0.01493/6.951, allocations: 3.234 MB / 3.631 GB, free: 6.707 MB / 2.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01382/6.965, allocations: 8.578 MB / 3.639 GB, free: 14.16 MB / 2.108 GB Notification: Performance of SimCode: time 1.082e-06/6.965, allocations: 0 / 3.639 GB, free: 14.16 MB / 2.108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.809/9.775, allocations: 0.6639 GB / 4.303 GB, free: 0.7428 GB / 2.17 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/9.775, allocations: 298.3 kB / 4.304 GB, free: 0.7424 GB / 2.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.12/28.9, allocations: 4 kB / 4.304 GB, free: 0.7424 GB / 2.17 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches