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.007425/0.007425, allocations: 100 kB / 15.73 MB, free: 6.043 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.001702/0.001702, allocations: 185.4 kB / 16.67 MB, free: 5.977 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 4.355 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.168/2.168, allocations: 390.3 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 70.78 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2549, allocations: 140.4 MB / 1.088 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.256/3.511, allocations: 1.349 GB / 2.436 GB, free: 96.16 MB / 1.623 GB Notification: Performance of NFInst.instExpressions: time 0.3218/3.833, allocations: 330.5 MB / 2.759 GB, free: 58.33 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04477/3.878, allocations: 1.16 MB / 2.76 GB, free: 58.33 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.03349/3.911, allocations: 12.95 MB / 2.773 GB, free: 50.45 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.08088/3.992, allocations: 32.17 MB / 2.804 GB, free: 22.81 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.04069/4.033, allocations: 18.88 MB / 2.823 GB, free: 5.688 MB / 1.623 GB Notification: Performance of NFFlatten.flatten: time 0.07089/4.104, allocations: 56.61 MB / 2.878 GB, free: 14.62 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03856/4.142, allocations: 22.25 MB / 2.9 GB, free: 8.492 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05519/4.198, allocations: 25.28 MB / 2.924 GB, free: 0.6602 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03229/4.23, allocations: 17.59 MB / 2.941 GB, free: 256 kB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.007781/4.238, allocations: 2.055 MB / 2.943 GB, free: 14.19 MB / 1.748 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04246/4.28, allocations: 17.91 MB / 2.961 GB, free: 13 MB / 1.764 GB Notification: Performance of NFScalarize.scalarize: time 0.008628/4.289, allocations: 4.723 MB / 2.966 GB, free: 8.324 MB / 1.764 GB Notification: Performance of NFVerifyModel.verify: time 0.02148/4.31, allocations: 10.86 MB / 2.976 GB, free: 13.48 MB / 1.779 GB Notification: Performance of NFConvertDAE.convert: time 0.07109/4.382, allocations: 41.11 MB / 3.016 GB, free: 5.637 MB / 1.811 GB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/4.382, allocations: 0 / 3.016 GB, free: 5.637 MB / 1.811 GB Notification: Performance of FrontEnd: time 1.904e-06/4.382, allocations: 4 kB / 3.016 GB, free: 5.633 MB / 1.811 GB Notification: Performance of Transformations before backend: time 0.001121/4.383, allocations: 0 / 3.016 GB, free: 5.633 MB / 1.811 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.04735/4.43, allocations: 20.35 MB / 3.036 GB, free: 1.34 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/4.43, allocations: 12.03 kB / 3.036 GB, free: 1.328 MB / 1.826 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004882/4.435, allocations: 1.582 MB / 3.038 GB, free: 15.75 MB / 1.842 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008925/4.444, allocations: 2.185 MB / 3.04 GB, free: 13.55 MB / 1.842 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03823/4.482, allocations: 18.28 MB / 3.058 GB, free: 11.57 MB / 1.857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009371/4.483, allocations: 0.9529 MB / 3.059 GB, free: 10.61 MB / 1.857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003622/4.487, allocations: 1.248 MB / 3.06 GB, free: 9.367 MB / 1.857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03478/4.522, allocations: 14.08 MB / 3.074 GB, free: 10.5 MB / 1.873 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005757/4.522, allocations: 51.53 kB / 3.074 GB, free: 10.45 MB / 1.873 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002952/4.525, allocations: 0.5106 MB / 3.074 GB, free: 9.941 MB / 1.873 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003837/4.526, allocations: 343.9 kB / 3.075 GB, free: 9.605 MB / 1.873 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02057/4.546, allocations: 9.694 MB / 3.084 GB, free: 15.95 MB / 1.889 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.6866/5.233, allocations: 72.16 MB / 3.154 GB, free: 0.9589 GB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008171/5.241, allocations: 4.553 MB / 3.159 GB, free: 0.9582 GB / 1.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003411/5.245, allocations: 2.437 MB / 3.161 GB, free: 0.958 GB / 1.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07712/5.322, allocations: 51.67 MB / 3.212 GB, free: 0.9215 GB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/5.322, allocations: 118 kB / 3.212 GB, free: 0.9215 GB / 1.92 GB Notification: Performance of pre-optimization done (n=412): time 6.823e-06/5.322, allocations: 0 / 3.212 GB, free: 0.9215 GB / 1.92 GB Notification: Performance of matching and sorting (n=412): time 0.01465/5.337, allocations: 6.958 MB / 3.219 GB, free: 0.9201 GB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/5.337, allocations: 0.7921 MB / 3.219 GB, free: 0.9192 GB / 1.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02371/5.361, allocations: 16.21 MB / 3.235 GB, free: 0.9136 GB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/5.362, allocations: 145.1 kB / 3.235 GB, free: 0.9135 GB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.005955/5.368, allocations: 8.201 MB / 3.243 GB, free: 0.907 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001657/5.369, allocations: 1.459 MB / 3.245 GB, free: 0.9058 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00173/5.371, allocations: 1.41 MB / 3.246 GB, free: 0.905 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 5.368e-05/5.371, allocations: 313 kB / 3.246 GB, free: 0.9047 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/5.374, allocations: 2.007 MB / 3.248 GB, free: 0.9037 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/5.378, allocations: 4.934 MB / 3.253 GB, free: 0.8992 GB / 1.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/5.384, allocations: 6.678 MB / 3.26 GB, free: 0.8942 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.079e-05/5.384, allocations: 19.75 kB / 3.26 GB, free: 0.8942 GB / 1.92 GB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01334/5.398, allocations: 7.961 MB / 3.268 GB, free: 0.8903 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.609e-05/5.398, allocations: 35.56 kB / 3.268 GB, free: 0.8903 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/5.398, allocations: 67.44 kB / 3.268 GB, free: 0.8903 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/5.398, allocations: 108.7 kB / 3.268 GB, free: 0.8903 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003652/5.402, allocations: 1.372 MB / 3.269 GB, free: 0.89 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000176/5.402, allocations: 155.5 kB / 3.269 GB, free: 0.89 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/5.412, allocations: 1.239 MB / 3.27 GB, free: 0.8891 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007756/5.413, allocations: 372.4 kB / 3.271 GB, free: 0.8891 GB / 1.92 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.007119/5.42, allocations: 3.41 MB / 3.274 GB, free: 0.8869 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005395/5.426, allocations: 1.623 MB / 3.276 GB, free: 0.8861 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/5.44, allocations: 7.504 MB / 3.283 GB, free: 0.8822 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001801/5.44, allocations: 87.97 kB / 3.283 GB, free: 0.8822 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-05/5.44, allocations: 7.219 kB / 3.283 GB, free: 0.8822 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003647/5.444, allocations: 3.847 MB / 3.287 GB, free: 0.8793 GB / 1.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0453/5.489, allocations: 28.47 MB / 3.315 GB, free: 0.8589 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001353/5.489, allocations: 35.38 kB / 3.315 GB, free: 0.8588 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/5.492, allocations: 0.7723 MB / 3.316 GB, free: 0.8581 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.537e-05/5.492, allocations: 55.94 kB / 3.316 GB, free: 0.858 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000531/5.492, allocations: 154.5 kB / 3.316 GB, free: 0.8579 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/5.493, allocations: 67.78 kB / 3.316 GB, free: 0.8578 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/5.493, allocations: 55.69 kB / 3.316 GB, free: 0.8578 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/5.508, allocations: 11.91 MB / 3.327 GB, free: 0.8456 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007576/5.516, allocations: 2.818 MB / 3.33 GB, free: 0.8428 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004425/5.52, allocations: 151.7 kB / 3.33 GB, free: 0.8427 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008624/5.529, allocations: 219.1 kB / 3.331 GB, free: 0.8425 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005577/5.529, allocations: 403.4 kB / 3.331 GB, free: 0.8421 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006902/5.53, allocations: 255.9 kB / 3.331 GB, free: 0.8419 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.02156/5.552, allocations: 11.55 MB / 3.342 GB, free: 0.8307 GB / 1.92 GB Notification: Performance of sort global known variables: time 3.71e-07/5.552, allocations: 0 / 3.342 GB, free: 0.8307 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.01854/5.57, allocations: 5.285 MB / 3.348 GB, free: 0.8258 GB / 1.92 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.0278/5.598, allocations: 16.85 MB / 3.364 GB, free: 0.8093 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.008759/5.607, allocations: 5.506 MB / 3.369 GB, free: 0.8039 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 4.069e-05/5.607, allocations: 13.28 kB / 3.369 GB, free: 0.8039 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003602/5.611, allocations: 2.58 MB / 3.372 GB, free: 0.8014 GB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05022/5.661, allocations: 9.955 MB / 3.382 GB, free: 0.7922 GB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1628/5.824, allocations: 114.3 MB / 3.493 GB, free: 0.6766 GB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005791/5.83, allocations: 7.418 MB / 3.501 GB, free: 0.6693 GB / 1.92 GB Notification: Performance of simCode: alias equations: time 0.01128/5.841, allocations: 3.156 MB / 3.504 GB, free: 0.6665 GB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008207/5.849, allocations: 7.81 MB / 3.511 GB, free: 0.6588 GB / 1.92 GB Notification: Performance of SimCode: time 1.303e-06/5.849, allocations: 0 / 3.511 GB, free: 0.6588 GB / 1.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5589/6.408, allocations: 0.4977 GB / 4.009 GB, free: 167.2 MB / 1.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 59.5/65.91, allocations: 8.062 kB / 4.009 GB, free: 167.1 MB / 1.92 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