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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009337/0.0009338, allocations: 98.03 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.005659/0.005659, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.164/2.164, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 15.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6097, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.913/3.523, allocations: 1.322 GB / 2.277 GB, free: 54.28 MB / 1.389 GB Notification: Performance of NFInst.instExpressions: time 0.309/3.832, allocations: 327.7 MB / 2.597 GB, free: 12.74 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04335/3.875, allocations: 0.9969 MB / 2.598 GB, free: 11.74 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.03166/3.907, allocations: 10.55 MB / 2.609 GB, free: 1.629 MB / 1.389 GB Notification: Performance of NFTyping.typeBindings: time 0.08999/3.997, allocations: 29.39 MB / 2.637 GB, free: 8.793 MB / 1.42 GB Notification: Performance of NFTyping.typeClassSections: time 0.04237/4.039, allocations: 17.27 MB / 2.654 GB, free: 9.32 MB / 1.436 GB Notification: Performance of NFFlatten.flatten: time 0.08314/4.122, allocations: 74.4 MB / 2.727 GB, free: 0.9062 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03201/4.154, allocations: 17.36 MB / 2.744 GB, free: 15.68 MB / 1.529 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04745/4.202, allocations: 20.15 MB / 2.763 GB, free: 12.55 MB / 1.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02949/4.231, allocations: 16.8 MB / 2.78 GB, free: 12.89 MB / 1.561 GB Notification: Performance of NFPackage.collectConstants: time 0.005747/4.237, allocations: 0.6211 MB / 2.78 GB, free: 12.27 MB / 1.561 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04138/4.278, allocations: 15.57 MB / 2.796 GB, free: 13.41 MB / 1.576 GB Notification: Performance of NFScalarize.scalarize: time 0.007362/4.286, allocations: 3.173 MB / 2.799 GB, free: 10.29 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.01921/4.305, allocations: 9.112 MB / 2.808 GB, free: 1.188 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 1.842/6.147, allocations: 39.2 MB / 2.846 GB, free: 111.5 MB / 1.608 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/6.147, allocations: 0.9688 kB / 2.846 GB, free: 111.5 MB / 1.608 GB Notification: Performance of FrontEnd: time 3.036e-06/6.147, allocations: 0 / 2.846 GB, free: 111.5 MB / 1.608 GB Notification: Performance of Transformations before backend: time 0.00103/6.148, allocations: 0 / 2.846 GB, free: 111.5 MB / 1.608 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.04081/6.189, allocations: 16.36 MB / 2.862 GB, free: 105.7 MB / 1.608 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/6.189, allocations: 8.75 kB / 2.862 GB, free: 105.7 MB / 1.608 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004915/6.194, allocations: 1.573 MB / 2.863 GB, free: 105.5 MB / 1.608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008869/6.203, allocations: 2.186 MB / 2.866 GB, free: 104.5 MB / 1.608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03524/6.238, allocations: 17.45 MB / 2.883 GB, free: 101.9 MB / 1.608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001421/6.24, allocations: 0.9487 MB / 2.883 GB, free: 101.9 MB / 1.608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004177/6.244, allocations: 1.255 MB / 2.885 GB, free: 101.9 MB / 1.608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03684/6.281, allocations: 13.97 MB / 2.898 GB, free: 99.76 MB / 1.608 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008074/6.282, allocations: 39.56 kB / 2.898 GB, free: 99.76 MB / 1.608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003218/6.285, allocations: 0.5072 MB / 2.899 GB, free: 99.76 MB / 1.608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004828/6.285, allocations: 338.8 kB / 2.899 GB, free: 99.76 MB / 1.608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/6.307, allocations: 9.682 MB / 2.909 GB, free: 99.7 MB / 1.608 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.07716/6.384, allocations: 70.52 MB / 2.978 GB, free: 63.31 MB / 1.608 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006423/6.39, allocations: 4.559 MB / 2.982 GB, free: 62.62 MB / 1.608 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/6.394, allocations: 2.441 MB / 2.984 GB, free: 62.39 MB / 1.608 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07475/6.469, allocations: 51.87 MB / 3.035 GB, free: 39.62 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/6.469, allocations: 117.2 kB / 3.035 GB, free: 39.58 MB / 1.623 GB Notification: Performance of pre-optimization done (n=412): time 6.663e-06/6.469, allocations: 0 / 3.035 GB, free: 39.58 MB / 1.623 GB Notification: Performance of matching and sorting (n=412): time 0.01515/6.484, allocations: 6.943 MB / 3.042 GB, free: 38.64 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003425/6.484, allocations: 0.7884 MB / 3.043 GB, free: 37.73 MB / 1.623 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0267/6.511, allocations: 15.98 MB / 3.058 GB, free: 36.79 MB / 1.623 GB Notification: Performance of collectPreVariables (initialization): time 0.001276/6.512, allocations: 142.2 kB / 3.058 GB, free: 36.76 MB / 1.623 GB Notification: Performance of collectInitialEqns (initialization): time 0.006535/6.519, allocations: 8.294 MB / 3.067 GB, free: 35.06 MB / 1.623 GB Notification: Performance of collectInitialBindings (initialization): time 0.001764/6.521, allocations: 1.453 MB / 3.068 GB, free: 34.14 MB / 1.623 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000622/6.521, allocations: 487.4 kB / 3.068 GB, free: 34.12 MB / 1.623 GB Notification: Performance of setup shared object (initialization): time 0.0001233/6.521, allocations: 306.1 kB / 3.069 GB, free: 33.82 MB / 1.623 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002736/6.524, allocations: 1.975 MB / 3.071 GB, free: 33.8 MB / 1.623 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004262/6.528, allocations: 4.745 MB / 3.075 GB, free: 30.79 MB / 1.623 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/6.535, allocations: 6.419 MB / 3.082 GB, free: 28.32 MB / 1.623 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.76e-05/6.535, allocations: 15.78 kB / 3.082 GB, free: 28.32 MB / 1.623 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01518/6.55, allocations: 7.746 MB / 3.089 GB, free: 27.39 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/6.55, allocations: 32.59 kB / 3.089 GB, free: 27.39 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.335e-05/6.55, allocations: 64.72 kB / 3.089 GB, free: 27.39 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.393e-05/6.55, allocations: 99.84 kB / 3.089 GB, free: 27.39 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003823/6.554, allocations: 1.323 MB / 3.091 GB, free: 27.39 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.529e-05/6.554, allocations: 142.8 kB / 3.091 GB, free: 27.39 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/6.567, allocations: 1.689 MB / 3.092 GB, free: 26.65 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001334/6.568, allocations: 355.5 kB / 3.093 GB, free: 26.65 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * 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 (775): * Single equations (assignments): 775 * 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.00813/6.576, allocations: 3.387 MB / 3.096 GB, free: 26.49 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004863/6.581, allocations: 1.609 MB / 3.098 GB, free: 25.63 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/6.594, allocations: 7.528 MB / 3.105 GB, free: 25.19 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001584/6.594, allocations: 83.72 kB / 3.105 GB, free: 25.19 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/6.595, allocations: 8.375 kB / 3.105 GB, free: 25.19 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004015/6.599, allocations: 3.836 MB / 3.109 GB, free: 23.46 MB / 1.623 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04679/6.645, allocations: 28.38 MB / 3.136 GB, free: 7.98 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001298/6.646, allocations: 35.98 kB / 3.137 GB, free: 7.945 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/6.648, allocations: 0.7745 MB / 3.137 GB, free: 7.25 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.742e-05/6.649, allocations: 56 kB / 3.137 GB, free: 7.195 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005267/6.649, allocations: 160.8 kB / 3.137 GB, free: 7.102 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-05/6.649, allocations: 71.44 kB / 3.138 GB, free: 7.047 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.059e-05/6.649, allocations: 48 kB / 3.138 GB, free: 7.012 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/6.667, allocations: 11.9 MB / 3.149 GB, free: 13.51 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008864/6.676, allocations: 3.085 MB / 3.152 GB, free: 11.32 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004884/6.68, allocations: 136.5 kB / 3.152 GB, free: 11.25 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01097/6.691, allocations: 0.5486 MB / 3.153 GB, free: 10.78 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009879/6.692, allocations: 395.8 kB / 3.153 GB, free: 10.46 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009776/6.693, allocations: 261.3 kB / 3.154 GB, free: 10.25 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.02443/6.718, allocations: 11.39 MB / 3.165 GB, free: 2.645 MB / 1.639 GB Notification: Performance of sort global known variables: time 3e-07/6.718, allocations: 0 / 3.165 GB, free: 2.645 MB / 1.639 GB Notification: Performance of remove unused functions: time 0.02011/6.738, allocations: 5.221 MB / 3.17 GB, free: 13.87 MB / 1.654 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.02988/6.768, allocations: 17.01 MB / 3.186 GB, free: 15.78 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.01048/6.778, allocations: 5.344 MB / 3.192 GB, free: 12.28 MB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 5.735e-05/6.779, allocations: 11 kB / 3.192 GB, free: 12.27 MB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004574/6.783, allocations: 2.577 MB / 3.194 GB, free: 10.63 MB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1527/6.936, allocations: 10.82 MB / 3.205 GB, free: 2.328 MB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.505/7.441, allocations: 267.3 MB / 3.466 GB, free: 6.094 MB / 1.951 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/7.453, allocations: 7.436 MB / 3.473 GB, free: 14.62 MB / 1.967 GB Notification: Performance of simCode: alias equations: time 0.0143/7.467, allocations: 3.134 MB / 3.476 GB, free: 11.6 MB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01322/7.48, allocations: 8.065 MB / 3.484 GB, free: 3.535 MB / 1.967 GB Notification: Performance of SimCode: time 8.21e-07/7.48, allocations: 0 / 3.484 GB, free: 3.535 MB / 1.967 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.205/8.686, allocations: 0.5665 GB / 4.05 GB, free: 0.747 GB / 2.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/8.686, allocations: 286.8 kB / 4.051 GB, free: 0.7466 GB / 2.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.51/27.2, allocations: 2.188 kB / 4.051 GB, free: 0.7466 GB / 2.014 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