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.003901/0.003901, allocations: 97.28 kB / 15.73 MB, free: 6.055 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.001137/0.001137, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.374/2.374, allocations: 437.1 MB / 0.7106 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 71.88 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2664, allocations: 151.6 MB / 1.166 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.325/3.591, allocations: 1.37 GB / 2.536 GB, free: 87.42 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 0.3083/3.9, allocations: 334.1 MB / 2.862 GB, free: 40 MB / 1.701 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03963/3.939, allocations: 1.219 MB / 2.863 GB, free: 39.24 MB / 1.701 GB Notification: Performance of NFTyping.typeComponents: time 0.03134/3.971, allocations: 13.26 MB / 2.876 GB, free: 29.12 MB / 1.701 GB Notification: Performance of NFTyping.typeBindings: time 0.079/4.05, allocations: 32.23 MB / 2.908 GB, free: 1.414 MB / 1.701 GB Notification: Performance of NFTyping.typeClassSections: time 0.0538/4.103, allocations: 19.82 MB / 2.927 GB, free: 15.61 MB / 1.732 GB Notification: Performance of NFFlatten.flatten: time 0.08405/4.188, allocations: 58.22 MB / 2.984 GB, free: 6.945 MB / 1.779 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04037/4.228, allocations: 23.35 MB / 3.007 GB, free: 15.7 MB / 1.811 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05648/4.284, allocations: 25.01 MB / 3.031 GB, free: 8.121 MB / 1.826 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03324/4.318, allocations: 17.75 MB / 3.049 GB, free: 7.539 MB / 1.842 GB Notification: Performance of NFPackage.collectConstants: time 0.007797/4.326, allocations: 2.129 MB / 3.051 GB, free: 5.41 MB / 1.842 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0455/4.371, allocations: 17.98 MB / 3.068 GB, free: 4.137 MB / 1.857 GB Notification: Performance of NFScalarize.scalarize: time 0.008617/4.38, allocations: 4.886 MB / 3.073 GB, free: 15.3 MB / 1.873 GB Notification: Performance of NFVerifyModel.verify: time 0.0227/4.402, allocations: 11.17 MB / 3.084 GB, free: 4.16 MB / 1.873 GB Notification: Performance of NFConvertDAE.convert: time 0.07603/4.479, allocations: 42.27 MB / 3.125 GB, free: 11.15 MB / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/4.479, allocations: 0 / 3.125 GB, free: 11.15 MB / 1.92 GB Notification: Performance of FrontEnd: time 1.513e-06/4.479, allocations: 0 / 3.125 GB, free: 11.15 MB / 1.92 GB Notification: Performance of Transformations before backend: time 0.0009268/4.479, allocations: 0 / 3.125 GB, free: 11.15 MB / 1.92 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.0489/4.528, allocations: 21.59 MB / 3.146 GB, free: 5.602 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/4.528, allocations: 12.03 kB / 3.146 GB, free: 5.59 MB / 1.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00443/4.533, allocations: 1.638 MB / 3.148 GB, free: 3.941 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007985/4.541, allocations: 2.357 MB / 3.15 GB, free: 1.574 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03588/4.577, allocations: 19.07 MB / 3.169 GB, free: 14.82 MB / 1.967 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009689/4.578, allocations: 0.97 MB / 3.17 GB, free: 13.84 MB / 1.967 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00334/4.581, allocations: 1.288 MB / 3.171 GB, free: 12.56 MB / 1.967 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03318/4.614, allocations: 14.61 MB / 3.185 GB, free: 13.2 MB / 1.982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/4.615, allocations: 43.64 kB / 3.185 GB, free: 13.16 MB / 1.982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/4.617, allocations: 0.5383 MB / 3.186 GB, free: 12.62 MB / 1.982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/4.617, allocations: 347.9 kB / 3.186 GB, free: 12.28 MB / 1.982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02025/4.637, allocations: 10.1 MB / 3.196 GB, free: 2.215 MB / 1.982 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.6206/5.258, allocations: 76.72 MB / 3.271 GB, free: 0.9539 GB / 1.998 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007062/5.265, allocations: 4.562 MB / 3.275 GB, free: 0.9518 GB / 1.998 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/5.268, allocations: 2.44 MB / 3.278 GB, free: 0.9507 GB / 1.998 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07585/5.344, allocations: 51.68 MB / 3.328 GB, free: 0.9134 GB / 1.998 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/5.344, allocations: 120.7 kB / 3.328 GB, free: 0.9133 GB / 1.998 GB Notification: Performance of pre-optimization done (n=412): time 6.833e-06/5.344, allocations: 0 / 3.328 GB, free: 0.9133 GB / 1.998 GB Notification: Performance of matching and sorting (n=412): time 0.01533/5.36, allocations: 7.089 MB / 3.335 GB, free: 0.9098 GB / 1.998 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/5.36, allocations: 0.7889 MB / 3.336 GB, free: 0.9089 GB / 1.998 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02478/5.385, allocations: 16.69 MB / 3.352 GB, free: 0.9006 GB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/5.386, allocations: 141.2 kB / 3.353 GB, free: 0.9005 GB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.00693/5.393, allocations: 8.69 MB / 3.361 GB, free: 0.8935 GB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/5.395, allocations: 1.526 MB / 3.363 GB, free: 0.8923 GB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/5.397, allocations: 1.494 MB / 3.364 GB, free: 0.8915 GB / 1.998 GB Notification: Performance of setup shared object (initialization): time 4.074e-05/5.397, allocations: 301.1 kB / 3.364 GB, free: 0.8912 GB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/5.4, allocations: 2.081 MB / 3.366 GB, free: 0.8902 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004672/5.405, allocations: 5.291 MB / 3.371 GB, free: 0.8852 GB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006998/5.412, allocations: 7.132 MB / 3.378 GB, free: 0.8797 GB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.037e-05/5.412, allocations: 23.56 kB / 3.378 GB, free: 0.8797 GB / 1.998 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01559/5.427, allocations: 8.452 MB / 3.387 GB, free: 0.8756 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/5.428, allocations: 39.62 kB / 3.387 GB, free: 0.8756 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.796e-05/5.428, allocations: 83.12 kB / 3.387 GB, free: 0.8756 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.681e-05/5.428, allocations: 118.7 kB / 3.387 GB, free: 0.8756 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004061/5.432, allocations: 1.453 MB / 3.388 GB, free: 0.8753 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001147/5.432, allocations: 177.4 kB / 3.389 GB, free: 0.8752 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/5.442, allocations: 1.357 MB / 3.39 GB, free: 0.8743 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/5.444, allocations: 393.1 kB / 3.39 GB, free: 0.8742 GB / 1.998 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.006868/5.451, allocations: 3.566 MB / 3.394 GB, free: 0.872 GB / 1.998 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004684/5.455, allocations: 1.751 MB / 3.395 GB, free: 0.871 GB / 1.998 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/5.468, allocations: 7.572 MB / 3.403 GB, free: 0.8671 GB / 1.998 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/5.468, allocations: 83.34 kB / 3.403 GB, free: 0.8671 GB / 1.998 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.813e-05/5.468, allocations: 7.281 kB / 3.403 GB, free: 0.8671 GB / 1.998 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003215/5.471, allocations: 3.853 MB / 3.407 GB, free: 0.8642 GB / 1.998 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03988/5.511, allocations: 28.83 MB / 3.435 GB, free: 0.8414 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/5.511, allocations: 32.56 kB / 3.435 GB, free: 0.8414 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002354/5.514, allocations: 0.7774 MB / 3.436 GB, free: 0.8406 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-05/5.514, allocations: 48 kB / 3.436 GB, free: 0.8405 GB / 1.998 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002638/5.514, allocations: 161.8 kB / 3.436 GB, free: 0.8404 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.464e-05/5.514, allocations: 68.34 kB / 3.436 GB, free: 0.8403 GB / 1.998 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/5.514, allocations: 47.81 kB / 3.436 GB, free: 0.8403 GB / 1.998 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/5.527, allocations: 12.04 MB / 3.448 GB, free: 0.828 GB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006198/5.533, allocations: 2.955 MB / 3.451 GB, free: 0.8251 GB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003499/5.536, allocations: 159.6 kB / 3.451 GB, free: 0.8249 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00802/5.544, allocations: 259 kB / 3.451 GB, free: 0.8247 GB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/5.545, allocations: 406.5 kB / 3.451 GB, free: 0.8243 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005131/5.545, allocations: 259.8 kB / 3.452 GB, free: 0.824 GB / 1.998 GB Notification: Performance of sorting global known variables: time 0.01822/5.564, allocations: 11.86 MB / 3.463 GB, free: 0.8126 GB / 1.998 GB Notification: Performance of sort global known variables: time 8.02e-07/5.564, allocations: 0 / 3.463 GB, free: 0.8126 GB / 1.998 GB Notification: Performance of remove unused functions: time 0.01631/5.58, allocations: 5.403 MB / 3.468 GB, free: 0.8073 GB / 1.998 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.02236/5.602, allocations: 17.02 MB / 3.485 GB, free: 0.7905 GB / 1.998 GB Notification: Performance of simCode: created initialization part: time 0.008411/5.611, allocations: 5.672 MB / 3.491 GB, free: 0.785 GB / 1.998 GB Notification: Performance of simCode: created event and clocks part: time 3.289e-05/5.611, allocations: 11.38 kB / 3.491 GB, free: 0.785 GB / 1.998 GB Notification: Performance of simCode: created simulation system equations: time 0.003332/5.614, allocations: 2.585 MB / 3.493 GB, free: 0.7824 GB / 1.998 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04622/5.66, allocations: 10.01 MB / 3.503 GB, free: 0.7732 GB / 1.998 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1707/5.831, allocations: 118.7 MB / 3.619 GB, free: 0.6528 GB / 1.998 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006372/5.838, allocations: 7.787 MB / 3.626 GB, free: 0.6452 GB / 1.998 GB Notification: Performance of simCode: alias equations: time 0.0111/5.849, allocations: 3.256 MB / 3.63 GB, free: 0.6422 GB / 1.998 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00843/5.857, allocations: 8.056 MB / 3.638 GB, free: 0.6343 GB / 1.998 GB Notification: Performance of SimCode: time 7.11e-07/5.857, allocations: 0 / 3.638 GB, free: 0.6343 GB / 1.998 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.132/9.989, allocations: 0.4978 GB / 4.135 GB, free: 142.2 MB / 1.998 GB Notification: Performance of buildModelFMU: Generate platform static: time 66.33/76.32, allocations: 4.062 kB / 4.135 GB, free: 142.2 MB / 1.998 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=400 --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