Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_10_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.005107/0.005107, allocations: 102.7 kB / 15.73 MB, free: 5.539 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.001225/0.001225, allocations: 193.2 kB / 16.67 MB, free: 5.469 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.312/2.312, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64.11 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9342, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.094/4.028, allocations: 1.37 GB / 2.536 GB, free: 85.13 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.404/4.432, allocations: 334.1 MB / 2.862 GB, free: 15.59 MB / 1.857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05717/4.489, allocations: 1.223 MB / 2.863 GB, free: 14.36 MB / 1.857 GB Notification: Performance of NFTyping.typeComponents: time 0.04375/4.533, allocations: 13.5 MB / 2.877 GB, free: 0.7695 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 1.421/5.954, allocations: 33.89 MB / 2.91 GB, free: 13.32 MB / 1.857 GB Notification: Performance of NFTyping.typeClassSections: time 0.05445/6.009, allocations: 19.85 MB / 2.929 GB, free: 12.98 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.102/6.111, allocations: 58.31 MB / 2.986 GB, free: 12.7 MB / 1.857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05007/6.161, allocations: 23.37 MB / 3.009 GB, free: 25.43 MB / 1.873 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06941/6.23, allocations: 25.67 MB / 3.034 GB, free: 24.89 MB / 1.873 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04637/6.277, allocations: 17.76 MB / 3.051 GB, free: 21.24 MB / 1.873 GB Notification: Performance of NFPackage.collectConstants: time 0.01344/6.29, allocations: 2.13 MB / 3.053 GB, free: 21.24 MB / 1.873 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05495/6.345, allocations: 17.97 MB / 3.071 GB, free: 21.22 MB / 1.873 GB Notification: Performance of NFScalarize.scalarize: time 0.01213/6.357, allocations: 4.887 MB / 3.076 GB, free: 20.48 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.03156/6.389, allocations: 11.17 MB / 3.087 GB, free: 17.52 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.08315/6.472, allocations: 42.15 MB / 3.128 GB, free: 7.758 MB / 1.873 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/6.472, allocations: 0 / 3.128 GB, free: 7.758 MB / 1.873 GB Notification: Performance of FrontEnd: time 2.054e-06/6.472, allocations: 0 / 3.128 GB, free: 7.758 MB / 1.873 GB Notification: Performance of Transformations before backend: time 0.001296/6.474, allocations: 0 / 3.128 GB, free: 7.758 MB / 1.873 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.06524/6.539, allocations: 20.96 MB / 3.148 GB, free: 13.09 MB / 1.889 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/6.539, allocations: 9.297 kB / 3.148 GB, free: 13.09 MB / 1.889 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006547/6.545, allocations: 1.636 MB / 3.15 GB, free: 12.67 MB / 1.889 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/6.557, allocations: 2.255 MB / 3.152 GB, free: 11.57 MB / 1.889 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03968/6.597, allocations: 18.93 MB / 3.17 GB, free: 2.398 MB / 1.889 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001025/6.598, allocations: 0.9744 MB / 3.171 GB, free: 1.832 MB / 1.889 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005051/6.603, allocations: 1.289 MB / 3.173 GB, free: 0.957 MB / 1.889 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03999/6.643, allocations: 14.61 MB / 3.187 GB, free: 6.562 MB / 1.904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007144/6.644, allocations: 47.05 kB / 3.187 GB, free: 6.539 MB / 1.904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004449/6.648, allocations: 0.5338 MB / 3.188 GB, free: 6.406 MB / 1.904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004488/6.649, allocations: 347 kB / 3.188 GB, free: 6.078 MB / 1.904 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/6.672, allocations: 10.1 MB / 3.198 GB, free: 15.92 MB / 1.92 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.1041/6.776, allocations: 76.55 MB / 3.272 GB, free: 5.078 MB / 1.982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/6.784, allocations: 4.566 MB / 3.277 GB, free: 344 kB / 1.982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003272/6.787, allocations: 2.439 MB / 3.279 GB, free: 13.83 MB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07985/6.867, allocations: 51.67 MB / 3.33 GB, free: 2.859 MB / 2.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/6.867, allocations: 120.9 kB / 3.33 GB, free: 2.746 MB / 2.045 GB Notification: Performance of pre-optimization done (n=412): time 6.783e-06/6.867, allocations: 0 / 3.33 GB, free: 2.746 MB / 2.045 GB Notification: Performance of matching and sorting (n=412): time 0.01868/6.886, allocations: 6.99 MB / 3.337 GB, free: 11.82 MB / 2.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000346/6.886, allocations: 0.7917 MB / 3.338 GB, free: 10.86 MB / 2.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03309/6.92, allocations: 16.68 MB / 3.354 GB, free: 10.28 MB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/6.921, allocations: 141.7 kB / 3.354 GB, free: 10.13 MB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.011/6.932, allocations: 8.563 MB / 3.362 GB, free: 1.559 MB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003097/6.935, allocations: 1.466 MB / 3.364 GB, free: 108 kB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005767/6.941, allocations: 1.491 MB / 3.365 GB, free: 14.61 MB / 2.092 GB Notification: Performance of setup shared object (initialization): time 0.0001277/6.941, allocations: 305.1 kB / 3.365 GB, free: 14.3 MB / 2.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/6.946, allocations: 2.078 MB / 3.368 GB, free: 12.22 MB / 2.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008586/6.954, allocations: 5.291 MB / 3.373 GB, free: 5.637 MB / 2.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009938/6.964, allocations: 7.127 MB / 3.38 GB, free: 13.76 MB / 2.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/6.964, allocations: 24 kB / 3.38 GB, free: 13.74 MB / 2.107 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.0193/6.984, allocations: 8.363 MB / 3.388 GB, free: 5.895 MB / 2.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/6.984, allocations: 40 kB / 3.388 GB, free: 5.855 MB / 2.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001774/6.984, allocations: 80 kB / 3.388 GB, free: 5.777 MB / 2.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/6.984, allocations: 120 kB / 3.388 GB, free: 5.66 MB / 2.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004655/6.989, allocations: 1.456 MB / 3.389 GB, free: 4.312 MB / 2.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002432/6.989, allocations: 170.2 kB / 3.39 GB, free: 4.18 MB / 2.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/7.002, allocations: 1.32 MB / 3.391 GB, free: 2.852 MB / 2.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/7.004, allocations: 395.8 kB / 3.391 GB, free: 2.465 MB / 2.107 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.01014/7.014, allocations: 3.571 MB / 3.395 GB, free: 15 MB / 2.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006464/7.021, allocations: 1.659 MB / 3.396 GB, free: 13.32 MB / 2.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01656/7.037, allocations: 7.578 MB / 3.404 GB, free: 5.934 MB / 2.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002106/7.037, allocations: 79.94 kB / 3.404 GB, free: 5.855 MB / 2.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-05/7.037, allocations: 8 kB / 3.404 GB, free: 5.848 MB / 2.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0047/7.042, allocations: 3.855 MB / 3.408 GB, free: 1.699 MB / 2.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06582/7.108, allocations: 28.81 MB / 3.436 GB, free: 4.773 MB / 2.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00017/7.108, allocations: 32 kB / 3.436 GB, free: 4.742 MB / 2.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/7.111, allocations: 0.7755 MB / 3.437 GB, free: 4.016 MB / 2.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/7.111, allocations: 48 kB / 3.437 GB, free: 3.969 MB / 2.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007348/7.112, allocations: 156.4 kB / 3.437 GB, free: 3.816 MB / 2.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.312e-05/7.112, allocations: 80.66 kB / 3.437 GB, free: 3.75 MB / 2.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.253e-05/7.112, allocations: 48.38 kB / 3.437 GB, free: 3.715 MB / 2.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/7.134, allocations: 11.96 MB / 3.449 GB, free: 7.191 MB / 2.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009608/7.144, allocations: 2.863 MB / 3.451 GB, free: 4.289 MB / 2.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005887/7.15, allocations: 147.7 kB / 3.452 GB, free: 4.145 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01169/7.161, allocations: 266.7 kB / 3.452 GB, free: 3.887 MB / 2.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00104/7.162, allocations: 398.5 kB / 3.452 GB, free: 3.523 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001354/7.164, allocations: 259.8 kB / 3.452 GB, free: 3.27 MB / 2.17 GB Notification: Performance of sorting global known variables: time 0.03278/7.197, allocations: 11.86 MB / 3.464 GB, free: 7.516 MB / 2.186 GB Notification: Performance of sort global known variables: time 3.11e-07/7.197, allocations: 0 / 3.464 GB, free: 7.516 MB / 2.186 GB Notification: Performance of remove unused functions: time 0.02505/7.222, allocations: 5.363 MB / 3.469 GB, free: 2.145 MB / 2.186 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.03764/7.259, allocations: 16.89 MB / 3.486 GB, free: 1.18 MB / 2.201 GB Notification: Performance of simCode: created initialization part: time 0.01217/7.272, allocations: 5.675 MB / 3.491 GB, free: 11.83 MB / 2.217 GB Notification: Performance of simCode: created event and clocks part: time 5.095e-05/7.272, allocations: 8 kB / 3.491 GB, free: 11.82 MB / 2.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004655/7.276, allocations: 2.581 MB / 3.494 GB, free: 9.402 MB / 2.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05488/7.331, allocations: 10.01 MB / 3.504 GB, free: 15.7 MB / 2.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3063/7.638, allocations: 118 MB / 3.619 GB, free: 6.055 MB / 2.342 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01961/7.657, allocations: 7.791 MB / 3.626 GB, free: 14.22 MB / 2.357 GB Notification: Performance of simCode: alias equations: time 0.01899/7.676, allocations: 3.252 MB / 3.63 GB, free: 11.06 MB / 2.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01702/7.693, allocations: 8.059 MB / 3.637 GB, free: 3 MB / 2.357 GB Notification: Performance of SimCode: time 1.192e-06/7.693, allocations: 0 / 3.637 GB, free: 3 MB / 2.357 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.038/9.731, allocations: 0.4978 GB / 4.135 GB, free: 1.082 GB / 2.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 64.15/73.88, allocations: 11.25 kB / 4.135 GB, free: 1.082 GB / 2.436 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches