Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_9_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.001429/0.001429, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/0.5109, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.762/3.273, allocations: 1.349 GB / 2.298 GB, free: 75.42 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.3039/3.577, allocations: 330.5 MB / 2.621 GB, free: 31.56 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03636/3.613, allocations: 1.161 MB / 2.622 GB, free: 30.84 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.02929/3.643, allocations: 12.96 MB / 2.635 GB, free: 20.05 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.07495/3.718, allocations: 32.17 MB / 2.666 GB, free: 8.406 MB / 1.467 GB Notification: Performance of NFTyping.typeClassSections: time 0.04083/3.759, allocations: 18.7 MB / 2.685 GB, free: 7.492 MB / 1.482 GB Notification: Performance of NFFlatten.flatten: time 0.0641/3.823, allocations: 56.51 MB / 2.74 GB, free: 0.5273 MB / 1.529 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03972/3.862, allocations: 22.25 MB / 2.762 GB, free: 10.39 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04933/3.912, allocations: 24.67 MB / 2.786 GB, free: 3.148 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02915/3.941, allocations: 17.56 MB / 2.803 GB, free: 2.758 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.006638/3.948, allocations: 2.055 MB / 2.805 GB, free: 0.7031 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03921/3.987, allocations: 17.73 MB / 2.822 GB, free: 15.68 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.007234/3.994, allocations: 4.727 MB / 2.827 GB, free: 11 MB / 1.623 GB Notification: Performance of NFVerifyModel.verify: time 0.02061/4.015, allocations: 10.87 MB / 2.837 GB, free: 152 kB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.06082/4.076, allocations: 40.72 MB / 2.877 GB, free: 8.695 MB / 1.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/4.076, allocations: 0 / 2.877 GB, free: 8.695 MB / 1.67 GB Notification: Performance of FrontEnd: time 1.854e-06/4.076, allocations: 0 / 2.877 GB, free: 8.695 MB / 1.67 GB Notification: Performance of Transformations before backend: time 0.00086/4.077, allocations: 0 / 2.877 GB, free: 8.695 MB / 1.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3135 * Number of variables: 3135 Notification: Performance of Generate backend data structure: time 0.0397/4.116, allocations: 20.35 MB / 2.897 GB, free: 4.398 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/4.116, allocations: 8.031 kB / 2.897 GB, free: 4.391 MB / 1.686 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003094/4.119, allocations: 1.58 MB / 2.899 GB, free: 2.801 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006366/4.126, allocations: 2.179 MB / 2.901 GB, free: 0.5977 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8219/4.948, allocations: 17.09 MB / 2.917 GB, free: 178.3 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/4.949, allocations: 0.9455 MB / 2.918 GB, free: 178.3 MB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00338/4.952, allocations: 1.256 MB / 2.92 GB, free: 178.3 MB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02275/4.975, allocations: 14.08 MB / 2.933 GB, free: 175.9 MB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002349/4.975, allocations: 48 kB / 2.933 GB, free: 175.9 MB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009811/4.976, allocations: 0.5129 MB / 2.934 GB, free: 175.9 MB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003021/4.977, allocations: 340 kB / 2.934 GB, free: 175.9 MB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/4.992, allocations: 9.688 MB / 2.944 GB, free: 175.9 MB / 1.701 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.06666/5.059, allocations: 72.78 MB / 3.015 GB, free: 139.1 MB / 1.701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006493/5.065, allocations: 4.561 MB / 3.019 GB, free: 138.4 MB / 1.701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002843/5.068, allocations: 2.438 MB / 3.022 GB, free: 138.2 MB / 1.701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07257/5.141, allocations: 51.49 MB / 3.072 GB, free: 99.46 MB / 1.701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/5.141, allocations: 128.5 kB / 3.072 GB, free: 99.41 MB / 1.701 GB Notification: Performance of pre-optimization done (n=412): time 9.377e-06/5.141, allocations: 4 kB / 3.072 GB, free: 99.41 MB / 1.701 GB Notification: Performance of matching and sorting (n=412): time 0.01351/5.154, allocations: 6.948 MB / 3.079 GB, free: 98.49 MB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/5.155, allocations: 0.7931 MB / 3.079 GB, free: 97.58 MB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02587/5.181, allocations: 16.2 MB / 3.095 GB, free: 96.64 MB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.0009484/5.181, allocations: 143.8 kB / 3.095 GB, free: 96.61 MB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.006244/5.188, allocations: 8.331 MB / 3.104 GB, free: 94.84 MB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/5.189, allocations: 1.456 MB / 3.105 GB, free: 93.93 MB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/5.191, allocations: 1.408 MB / 3.106 GB, free: 93.81 MB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.937e-05/5.191, allocations: 310.4 kB / 3.107 GB, free: 93.51 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002657/5.194, allocations: 2.01 MB / 3.109 GB, free: 93.5 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/5.198, allocations: 4.93 MB / 3.113 GB, free: 90.29 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006749/5.205, allocations: 6.678 MB / 3.12 GB, free: 87.61 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-05/5.205, allocations: 20.81 kB / 3.12 GB, free: 87.61 MB / 1.701 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01348/5.219, allocations: 7.965 MB / 3.128 GB, free: 86.67 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/5.219, allocations: 34.69 kB / 3.128 GB, free: 86.67 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.278e-05/5.219, allocations: 69 kB / 3.128 GB, free: 86.67 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.943e-05/5.219, allocations: 108.8 kB / 3.128 GB, free: 86.67 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/5.223, allocations: 1.37 MB / 3.129 GB, free: 86.67 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.713e-05/5.223, allocations: 151.4 kB / 3.129 GB, free: 86.67 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008843/5.231, allocations: 1.264 MB / 3.131 GB, free: 85.97 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006395/5.232, allocations: 373.4 kB / 3.131 GB, free: 85.97 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 321 * 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 (801): * Single equations (assignments): 801 * 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.00579/5.238, allocations: 3.401 MB / 3.134 GB, free: 85.8 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004079/5.242, allocations: 1.625 MB / 3.136 GB, free: 84.94 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/5.253, allocations: 7.546 MB / 3.143 GB, free: 84.49 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.496e-05/5.253, allocations: 82.2 kB / 3.143 GB, free: 84.49 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/5.253, allocations: 8.469 kB / 3.143 GB, free: 84.49 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003353/5.256, allocations: 3.843 MB / 3.147 GB, free: 82.75 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03292/5.289, allocations: 28.46 MB / 3.175 GB, free: 72.88 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.834e-05/5.289, allocations: 32 kB / 3.175 GB, free: 72.84 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/5.292, allocations: 0.7696 MB / 3.176 GB, free: 72.25 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.543e-05/5.292, allocations: 52 kB / 3.176 GB, free: 72.2 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/5.292, allocations: 159.5 kB / 3.176 GB, free: 72.12 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.935e-05/5.292, allocations: 68.58 kB / 3.176 GB, free: 72.07 MB / 1.701 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.042e-05/5.292, allocations: 49.31 kB / 3.176 GB, free: 72.04 MB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/5.304, allocations: 11.93 MB / 3.188 GB, free: 63.37 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00561/5.31, allocations: 2.819 MB / 3.19 GB, free: 61.69 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002481/5.312, allocations: 151.5 kB / 3.191 GB, free: 61.61 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005631/5.318, allocations: 216.7 kB / 3.191 GB, free: 61.5 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004087/5.318, allocations: 403.3 kB / 3.191 GB, free: 61.29 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003637/5.318, allocations: 262.4 kB / 3.191 GB, free: 61.12 MB / 1.701 GB Notification: Performance of sorting global known variables: time 0.01561/5.334, allocations: 11.54 MB / 3.203 GB, free: 55.15 MB / 1.701 GB Notification: Performance of sort global known variables: time 5.81e-07/5.334, allocations: 0 / 3.203 GB, free: 55.15 MB / 1.701 GB Notification: Performance of remove unused functions: time 0.0146/5.349, allocations: 5.288 MB / 3.208 GB, free: 50.7 MB / 1.701 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 ($cse16.phase,$cse16.region,$cse7.phase,$cse7.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.02424/5.373, allocations: 16.85 MB / 3.224 GB, free: 37.64 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.008255/5.381, allocations: 5.774 MB / 3.23 GB, free: 32.83 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 2.663e-05/5.381, allocations: 15.28 kB / 3.23 GB, free: 32.82 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/5.384, allocations: 2.576 MB / 3.233 GB, free: 30.68 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04226/5.426, allocations: 10.02 MB / 3.242 GB, free: 22.81 MB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2294/5.656, allocations: 265.5 MB / 3.502 GB, free: 10.5 MB / 1.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00707/5.663, allocations: 7.421 MB / 3.509 GB, free: 3.043 MB / 1.967 GB Notification: Performance of simCode: alias equations: time 0.01181/5.675, allocations: 3.165 MB / 3.512 GB, free: 15.97 MB / 1.982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008491/5.683, allocations: 7.805 MB / 3.52 GB, free: 8.168 MB / 1.982 GB Notification: Performance of SimCode: time 5.81e-07/5.683, allocations: 0 / 3.52 GB, free: 8.168 MB / 1.982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.442/9.125, allocations: 0.4903 GB / 4.01 GB, free: 1.008 GB / 2.108 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.94/33.06, allocations: 13.94 kB / 4.01 GB, free: 1.008 GB / 2.108 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches