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.001363/0.001363, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001396/0.001396, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.219/2.219, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.89 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6781, allocations: 140.4 MB / 0.9492 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.252/3.93, allocations: 1.336 GB / 2.285 GB, free: 73.95 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.3374/4.267, allocations: 327.9 MB / 2.605 GB, free: 38.42 MB / 1.451 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0402/4.307, allocations: 1.057 MB / 2.606 GB, free: 38.42 MB / 1.451 GB Notification: Performance of NFTyping.typeComponents: time 0.03242/4.34, allocations: 11.3 MB / 2.617 GB, free: 28.54 MB / 1.451 GB Notification: Performance of NFTyping.typeBindings: time 0.08374/4.424, allocations: 29.9 MB / 2.647 GB, free: 3.195 MB / 1.451 GB Notification: Performance of NFTyping.typeClassSections: time 0.04773/4.471, allocations: 17.4 MB / 2.664 GB, free: 3.598 MB / 1.467 GB Notification: Performance of NFFlatten.flatten: time 0.07727/4.549, allocations: 56.8 MB / 2.719 GB, free: 12.34 MB / 1.529 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04609/4.595, allocations: 21.9 MB / 2.74 GB, free: 6.559 MB / 1.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06131/4.656, allocations: 24.75 MB / 2.765 GB, free: 15.24 MB / 1.576 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03311/4.689, allocations: 18.11 MB / 2.782 GB, free: 14.3 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.008714/4.698, allocations: 2.051 MB / 2.784 GB, free: 12.25 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04447/4.742, allocations: 17.96 MB / 2.802 GB, free: 11 MB / 1.607 GB Notification: Performance of NFScalarize.scalarize: time 0.00906/4.752, allocations: 4.766 MB / 2.807 GB, free: 6.285 MB / 1.607 GB Notification: Performance of NFVerifyModel.verify: time 0.02403/4.776, allocations: 10.88 MB / 2.817 GB, free: 11.43 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.07653/4.852, allocations: 40.88 MB / 2.857 GB, free: 3.824 MB / 1.654 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/4.852, allocations: 0 / 2.857 GB, free: 3.824 MB / 1.654 GB Notification: Performance of FrontEnd: time 1.502e-06/4.852, allocations: 4 kB / 2.857 GB, free: 3.82 MB / 1.654 GB Notification: Performance of Transformations before backend: time 0.001154/4.853, allocations: 0 / 2.857 GB, free: 3.82 MB / 1.654 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.04962/4.903, allocations: 20.34 MB / 2.877 GB, free: 15.54 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/4.903, allocations: 11.97 kB / 2.877 GB, free: 15.52 MB / 1.686 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004934/4.908, allocations: 1.576 MB / 2.879 GB, free: 13.94 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/4.918, allocations: 2.178 MB / 2.881 GB, free: 11.74 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03873/4.957, allocations: 17.46 MB / 2.898 GB, free: 10.59 MB / 1.701 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00132/4.958, allocations: 0.9487 MB / 2.899 GB, free: 9.641 MB / 1.701 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005229/4.964, allocations: 1.248 MB / 2.9 GB, free: 8.395 MB / 1.701 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/5, allocations: 13.96 MB / 2.913 GB, free: 9.73 MB / 1.717 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005531/5, allocations: 43.59 kB / 2.914 GB, free: 9.688 MB / 1.717 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003014/5.003, allocations: 0.5078 MB / 2.914 GB, free: 9.18 MB / 1.717 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003579/5.004, allocations: 339.9 kB / 2.914 GB, free: 8.848 MB / 1.717 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5022/5.506, allocations: 9.675 MB / 2.924 GB, free: 0.9215 GB / 1.717 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.08398/5.59, allocations: 70.48 MB / 2.993 GB, free: 0.8687 GB / 1.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007374/5.597, allocations: 4.566 MB / 2.997 GB, free: 0.8661 GB / 1.717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/5.601, allocations: 2.438 MB / 2.999 GB, free: 0.8647 GB / 1.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07094/5.672, allocations: 51.49 MB / 3.05 GB, free: 0.8216 GB / 1.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/5.672, allocations: 125.2 kB / 3.05 GB, free: 0.8215 GB / 1.717 GB Notification: Performance of pre-optimization done (n=412): time 1.599e-05/5.672, allocations: 0 / 3.05 GB, free: 0.8215 GB / 1.717 GB Notification: Performance of matching and sorting (n=412): time 0.01624/5.688, allocations: 6.94 MB / 3.057 GB, free: 0.8182 GB / 1.717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/5.688, allocations: 0.7923 MB / 3.057 GB, free: 0.8173 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03242/5.721, allocations: 15.97 MB / 3.073 GB, free: 0.8093 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/5.722, allocations: 142.6 kB / 3.073 GB, free: 0.8092 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.008591/5.731, allocations: 8.291 MB / 3.081 GB, free: 0.802 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/5.733, allocations: 1.448 MB / 3.083 GB, free: 0.8008 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00449/5.738, allocations: 1.372 MB / 3.084 GB, free: 0.8001 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 4.802e-05/5.738, allocations: 306 kB / 3.084 GB, free: 0.7998 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003528/5.741, allocations: 1.973 MB / 3.086 GB, free: 0.7988 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005698/5.747, allocations: 4.745 MB / 3.091 GB, free: 0.7945 GB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006887/5.754, allocations: 6.424 MB / 3.097 GB, free: 0.7898 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-05/5.754, allocations: 19.97 kB / 3.097 GB, free: 0.7898 GB / 1.717 GB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01529/5.769, allocations: 7.747 MB / 3.105 GB, free: 0.7858 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 8.517e-05/5.769, allocations: 33.88 kB / 3.105 GB, free: 0.7858 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.937e-05/5.769, allocations: 64 kB / 3.105 GB, free: 0.7857 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/5.77, allocations: 104 kB / 3.105 GB, free: 0.7856 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/5.774, allocations: 1.328 MB / 3.106 GB, free: 0.7844 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/5.774, allocations: 135.5 kB / 3.106 GB, free: 0.7842 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01431/5.788, allocations: 1.686 MB / 3.108 GB, free: 0.7826 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/5.79, allocations: 359.8 kB / 3.108 GB, free: 0.7823 GB / 1.717 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.008257/5.798, allocations: 3.382 MB / 3.112 GB, free: 0.7789 GB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005424/5.803, allocations: 1.613 MB / 3.113 GB, free: 0.7773 GB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/5.817, allocations: 7.539 MB / 3.121 GB, free: 0.7702 GB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001855/5.818, allocations: 79.95 kB / 3.121 GB, free: 0.7701 GB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-05/5.818, allocations: 11.94 kB / 3.121 GB, free: 0.7701 GB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003755/5.822, allocations: 3.85 MB / 3.124 GB, free: 0.766 GB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04462/5.866, allocations: 28.37 MB / 3.152 GB, free: 0.7379 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001107/5.866, allocations: 32 kB / 3.152 GB, free: 0.7379 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/5.869, allocations: 0.7723 MB / 3.153 GB, free: 0.7371 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.468e-05/5.869, allocations: 52 kB / 3.153 GB, free: 0.7371 GB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005535/5.87, allocations: 152 kB / 3.153 GB, free: 0.7369 GB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.414e-05/5.87, allocations: 67.78 kB / 3.153 GB, free: 0.7369 GB / 1.717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/5.87, allocations: 51.75 kB / 3.153 GB, free: 0.7368 GB / 1.717 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01454/5.884, allocations: 11.91 MB / 3.165 GB, free: 0.7246 GB / 1.717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006992/5.891, allocations: 2.802 MB / 3.168 GB, free: 0.7218 GB / 1.717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004223/5.895, allocations: 151.6 kB / 3.168 GB, free: 0.7217 GB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009585/5.905, allocations: 0.5485 MB / 3.168 GB, free: 0.7212 GB / 1.717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/5.906, allocations: 406.5 kB / 3.169 GB, free: 0.7208 GB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007631/5.907, allocations: 259.8 kB / 3.169 GB, free: 0.7205 GB / 1.717 GB Notification: Performance of sorting global known variables: time 0.02044/5.927, allocations: 11.39 MB / 3.18 GB, free: 0.7095 GB / 1.717 GB Notification: Performance of sort global known variables: time 4.91e-07/5.927, allocations: 0 / 3.18 GB, free: 0.7095 GB / 1.717 GB Notification: Performance of remove unused functions: time 0.01756/5.945, allocations: 5.214 MB / 3.185 GB, free: 0.7046 GB / 1.717 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.02632/5.971, allocations: 16.75 MB / 3.201 GB, free: 0.6882 GB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.009397/5.98, allocations: 5.688 MB / 3.207 GB, free: 0.6826 GB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 3.569e-05/5.98, allocations: 8 kB / 3.207 GB, free: 0.6826 GB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.003668/5.984, allocations: 2.577 MB / 3.21 GB, free: 0.6801 GB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04771/6.032, allocations: 10 MB / 3.219 GB, free: 0.671 GB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4978/6.53, allocations: 267.1 MB / 3.48 GB, free: 400.2 MB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/6.541, allocations: 7.425 MB / 3.487 GB, free: 392.7 MB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.0175/6.559, allocations: 3.128 MB / 3.49 GB, free: 389.7 MB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01164/6.57, allocations: 7.806 MB / 3.498 GB, free: 381.9 MB / 1.717 GB Notification: Performance of SimCode: time 6.92e-07/6.57, allocations: 0 / 3.498 GB, free: 381.9 MB / 1.717 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.441/13.01, allocations: 496.7 MB / 3.983 GB, free: 0.8497 GB / 1.717 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/13.01, allocations: 280.9 kB / 3.983 GB, free: 0.8493 GB / 1.717 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/28.26, allocations: 5.875 kB / 3.983 GB, free: 0.8493 GB / 1.717 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