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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009944/0.000997, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001007/0.001007, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.142/1.142, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.256/2.256, allocations: 437 MB / 0.7099 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4843, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.711/3.195, allocations: 1.36 GB / 2.377 GB, free: 92.12 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.2927/3.488, allocations: 334.6 MB / 2.704 GB, free: 39.55 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03856/3.526, allocations: 1.118 MB / 2.705 GB, free: 38.89 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.02941/3.556, allocations: 10.88 MB / 2.715 GB, free: 28.67 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.06927/3.625, allocations: 29.44 MB / 2.744 GB, free: 3.777 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.04089/3.666, allocations: 18.06 MB / 2.762 GB, free: 3.711 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 0.07695/3.743, allocations: 75.9 MB / 2.836 GB, free: 9.32 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03271/3.776, allocations: 18.98 MB / 2.854 GB, free: 6.453 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04862/3.824, allocations: 20.94 MB / 2.875 GB, free: 2.527 MB / 1.654 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03038/3.855, allocations: 17.7 MB / 2.892 GB, free: 1.98 MB / 1.67 GB Notification: Performance of NFPackage.collectConstants: time 0.006061/3.861, allocations: 0.9023 MB / 2.893 GB, free: 1.078 MB / 1.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03844/3.899, allocations: 15.85 MB / 2.909 GB, free: 1.941 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.006879/3.906, allocations: 3.686 MB / 2.912 GB, free: 14.32 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.01928/3.926, allocations: 9.859 MB / 2.922 GB, free: 4.48 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.06024/3.986, allocations: 41.05 MB / 2.962 GB, free: 12.73 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/3.986, allocations: 0 / 2.962 GB, free: 12.73 MB / 1.748 GB Notification: Performance of FrontEnd: time 1.102e-06/3.986, allocations: 0 / 2.962 GB, free: 12.73 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.0008512/3.987, allocations: 0 / 2.962 GB, free: 12.73 MB / 1.748 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.0388/4.026, allocations: 20.93 MB / 2.982 GB, free: 7.871 MB / 1.764 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/4.026, allocations: 8.031 kB / 2.982 GB, free: 7.863 MB / 1.764 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003106/4.029, allocations: 1.641 MB / 2.984 GB, free: 6.215 MB / 1.764 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006355/4.035, allocations: 2.248 MB / 2.986 GB, free: 3.941 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02861/4.064, allocations: 18.08 MB / 3.004 GB, free: 2.172 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006606/4.064, allocations: 0.9806 MB / 3.005 GB, free: 1.191 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002304/4.067, allocations: 1.289 MB / 3.006 GB, free: 15.9 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/4.093, allocations: 14.49 MB / 3.02 GB, free: 0.7461 MB / 1.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000238/4.093, allocations: 47.52 kB / 3.02 GB, free: 0.6992 MB / 1.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/4.094, allocations: 0.5299 MB / 3.021 GB, free: 176 kB / 1.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4194/4.514, allocations: 343 kB / 3.021 GB, free: 0.9485 GB / 1.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/4.535, allocations: 10.08 MB / 3.031 GB, free: 0.9457 GB / 1.795 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.07268/4.608, allocations: 74.79 MB / 3.104 GB, free: 0.8892 GB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/4.614, allocations: 4.57 MB / 3.108 GB, free: 0.8866 GB / 1.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/4.616, allocations: 2.437 MB / 3.111 GB, free: 0.8853 GB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06469/4.681, allocations: 51.5 MB / 3.161 GB, free: 0.8422 GB / 1.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/4.681, allocations: 121.8 kB / 3.161 GB, free: 0.8421 GB / 1.795 GB Notification: Performance of pre-optimization done (n=412): time 6.282e-06/4.681, allocations: 2.344 kB / 3.161 GB, free: 0.8421 GB / 1.795 GB Notification: Performance of matching and sorting (n=412): time 0.01347/4.695, allocations: 6.99 MB / 3.168 GB, free: 0.8387 GB / 1.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/4.695, allocations: 0.7888 MB / 3.169 GB, free: 0.8378 GB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02463/4.72, allocations: 16.43 MB / 3.185 GB, free: 0.8285 GB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/4.721, allocations: 145.7 kB / 3.185 GB, free: 0.8284 GB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.006254/4.727, allocations: 8.647 MB / 3.193 GB, free: 0.8199 GB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/4.729, allocations: 1.459 MB / 3.195 GB, free: 0.8185 GB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001871/4.73, allocations: 1.446 MB / 3.196 GB, free: 0.8171 GB / 1.795 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/4.73, allocations: 305.1 kB / 3.197 GB, free: 0.8168 GB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/4.733, allocations: 2.039 MB / 3.199 GB, free: 0.8148 GB / 1.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00416/4.737, allocations: 5.093 MB / 3.204 GB, free: 0.8087 GB / 1.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006204/4.743, allocations: 6.873 MB / 3.21 GB, free: 0.8011 GB / 1.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-05/4.743, allocations: 20.88 kB / 3.21 GB, free: 0.8011 GB / 1.795 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01374/4.757, allocations: 8.159 MB / 3.218 GB, free: 0.7932 GB / 1.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/4.757, allocations: 42.12 kB / 3.218 GB, free: 0.7932 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.029e-05/4.757, allocations: 76 kB / 3.218 GB, free: 0.7931 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.403e-05/4.757, allocations: 114.9 kB / 3.218 GB, free: 0.793 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/4.761, allocations: 1.408 MB / 3.22 GB, free: 0.7916 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.412e-05/4.761, allocations: 159.4 kB / 3.22 GB, free: 0.7915 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/4.775, allocations: 1.855 MB / 3.222 GB, free: 0.7897 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/4.777, allocations: 379.9 kB / 3.222 GB, free: 0.7893 GB / 1.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 341 * 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 (821): * Single equations (assignments): 821 * 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.006545/4.783, allocations: 3.557 MB / 3.226 GB, free: 0.7858 GB / 1.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004662/4.788, allocations: 1.655 MB / 3.227 GB, free: 0.7842 GB / 1.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01147/4.799, allocations: 7.561 MB / 3.235 GB, free: 0.777 GB / 1.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.184e-05/4.799, allocations: 83.94 kB / 3.235 GB, free: 0.7769 GB / 1.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/4.799, allocations: 11.89 kB / 3.235 GB, free: 0.7769 GB / 1.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003008/4.802, allocations: 3.836 MB / 3.238 GB, free: 0.7728 GB / 1.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03812/4.841, allocations: 28.72 MB / 3.267 GB, free: 0.7444 GB / 1.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/4.841, allocations: 28 kB / 3.267 GB, free: 0.7444 GB / 1.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/4.843, allocations: 0.7762 MB / 3.267 GB, free: 0.7436 GB / 1.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/4.843, allocations: 52.56 kB / 3.267 GB, free: 0.7436 GB / 1.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/4.843, allocations: 155.8 kB / 3.267 GB, free: 0.7434 GB / 1.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.349e-05/4.843, allocations: 71.78 kB / 3.268 GB, free: 0.7434 GB / 1.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.717e-05/4.843, allocations: 51.75 kB / 3.268 GB, free: 0.7433 GB / 1.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/4.856, allocations: 11.95 MB / 3.279 GB, free: 0.7311 GB / 1.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006417/4.862, allocations: 2.848 MB / 3.282 GB, free: 0.7283 GB / 1.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003614/4.866, allocations: 151.7 kB / 3.282 GB, free: 0.7281 GB / 1.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009125/4.875, allocations: 0.6071 MB / 3.283 GB, free: 0.7275 GB / 1.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006993/4.876, allocations: 410.6 kB / 3.283 GB, free: 0.7271 GB / 1.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000507/4.876, allocations: 255.9 kB / 3.283 GB, free: 0.7269 GB / 1.795 GB Notification: Performance of sorting global known variables: time 0.01931/4.896, allocations: 11.69 MB / 3.295 GB, free: 0.7156 GB / 1.795 GB Notification: Performance of sort global known variables: time 4.41e-07/4.896, allocations: 4 kB / 3.295 GB, free: 0.7156 GB / 1.795 GB Notification: Performance of remove unused functions: time 0.0182/4.914, allocations: 5.286 MB / 3.3 GB, free: 0.7106 GB / 1.795 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.02283/4.937, allocations: 16.8 MB / 3.316 GB, free: 0.6941 GB / 1.795 GB Notification: Performance of simCode: created initialization part: time 0.008354/4.945, allocations: 5.491 MB / 3.322 GB, free: 0.6888 GB / 1.795 GB Notification: Performance of simCode: created event and clocks part: time 2.937e-05/4.945, allocations: 11.94 kB / 3.322 GB, free: 0.6888 GB / 1.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003539/4.949, allocations: 2.593 MB / 3.324 GB, free: 0.6862 GB / 1.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04395/4.993, allocations: 9.641 MB / 3.334 GB, free: 0.6774 GB / 1.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4271/5.42, allocations: 278.2 MB / 3.605 GB, free: 394.9 MB / 1.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005781/5.426, allocations: 7.783 MB / 3.613 GB, free: 387.1 MB / 1.795 GB Notification: Performance of simCode: alias equations: time 0.01145/5.437, allocations: 3.222 MB / 3.616 GB, free: 384.1 MB / 1.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007161/5.444, allocations: 8.056 MB / 3.624 GB, free: 376 MB / 1.795 GB Notification: Performance of SimCode: time 7.91e-07/5.444, allocations: 0 / 3.624 GB, free: 376 MB / 1.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.375/9.82, allocations: 493.9 MB / 4.106 GB, free: 0.8597 GB / 1.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001828/9.82, allocations: 281.1 kB / 4.107 GB, free: 0.8594 GB / 1.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/24.47, allocations: 3.188 kB / 4.107 GB, free: 0.8594 GB / 1.795 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