Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_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.004756/0.004756, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001275/0.001275, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 75.83 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6557/0.6576, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.364/3.022, allocations: 1.369 GB / 2.59 GB, free: 52.33 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.3832/3.405, allocations: 333.9 MB / 2.916 GB, free: 6.297 MB / 1.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03664/3.441, allocations: 1.227 MB / 2.917 GB, free: 5.062 MB / 1.92 GB Notification: Performance of NFTyping.typeComponents: time 1.031/4.472, allocations: 13.24 MB / 2.93 GB, free: 19.27 MB / 1.92 GB Notification: Performance of NFTyping.typeBindings: time 0.07757/4.55, allocations: 32.22 MB / 2.961 GB, free: 19.1 MB / 1.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.03903/4.589, allocations: 19.82 MB / 2.981 GB, free: 18.92 MB / 1.92 GB Notification: Performance of NFFlatten.flatten: time 0.07433/4.664, allocations: 58.2 MB / 3.037 GB, free: 18.63 MB / 1.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03661/4.7, allocations: 23.37 MB / 3.06 GB, free: 15.37 MB / 1.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05169/4.752, allocations: 25 MB / 3.085 GB, free: 14.52 MB / 1.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03272/4.785, allocations: 17.76 MB / 3.102 GB, free: 10.86 MB / 1.92 GB Notification: Performance of NFPackage.collectConstants: time 0.00727/4.792, allocations: 2.133 MB / 3.104 GB, free: 10.86 MB / 1.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04153/4.833, allocations: 17.97 MB / 3.122 GB, free: 10.78 MB / 1.92 GB Notification: Performance of NFScalarize.scalarize: time 0.008099/4.842, allocations: 4.879 MB / 3.126 GB, free: 10.04 MB / 1.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02038/4.862, allocations: 11.18 MB / 3.137 GB, free: 7.074 MB / 1.92 GB Notification: Performance of NFConvertDAE.convert: time 0.07779/4.94, allocations: 42.72 MB / 3.179 GB, free: 0 / 1.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/4.94, allocations: 4.109 kB / 3.179 GB, free: 15.99 MB / 1.936 GB Notification: Performance of FrontEnd: time 1.472e-06/4.94, allocations: 6.812 kB / 3.179 GB, free: 15.99 MB / 1.936 GB Notification: Performance of Transformations before backend: time 0.001029/4.941, allocations: 0 / 3.179 GB, free: 15.99 MB / 1.936 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.05506/4.996, allocations: 21.55 MB / 3.2 GB, free: 4.711 MB / 1.936 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/4.996, allocations: 16.67 kB / 3.2 GB, free: 4.703 MB / 1.936 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004399/5, allocations: 1.637 MB / 3.202 GB, free: 4.289 MB / 1.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009441/5.01, allocations: 2.354 MB / 3.204 GB, free: 3.098 MB / 1.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03445/5.044, allocations: 19.03 MB / 3.223 GB, free: 11.61 MB / 1.951 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008079/5.045, allocations: 0.9727 MB / 3.224 GB, free: 11.04 MB / 1.951 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00327/5.048, allocations: 1.298 MB / 3.225 GB, free: 10.16 MB / 1.951 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03232/5.081, allocations: 14.61 MB / 3.239 GB, free: 15.76 MB / 1.967 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002929/5.081, allocations: 44.75 kB / 3.239 GB, free: 15.74 MB / 1.967 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001481/5.083, allocations: 0.5309 MB / 3.24 GB, free: 15.61 MB / 1.967 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003128/5.083, allocations: 349.3 kB / 3.24 GB, free: 15.28 MB / 1.967 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/5.103, allocations: 10.1 MB / 3.25 GB, free: 5.52 MB / 1.967 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.09707/5.2, allocations: 76.66 MB / 3.325 GB, free: 6.152 MB / 2.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007692/5.208, allocations: 4.569 MB / 3.329 GB, free: 1.41 MB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003412/5.211, allocations: 2.43 MB / 3.332 GB, free: 14.92 MB / 2.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08757/5.299, allocations: 51.67 MB / 3.382 GB, free: 3.941 MB / 2.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/5.299, allocations: 127.9 kB / 3.382 GB, free: 3.82 MB / 2.107 GB Notification: Performance of pre-optimization done (n=412): time 6.322e-06/5.299, allocations: 0 / 3.382 GB, free: 3.82 MB / 2.107 GB Notification: Performance of matching and sorting (n=412): time 0.01633/5.315, allocations: 7.085 MB / 3.389 GB, free: 12.79 MB / 2.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000382/5.316, allocations: 0.7893 MB / 3.39 GB, free: 11.82 MB / 2.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02912/5.345, allocations: 16.69 MB / 3.406 GB, free: 11.24 MB / 2.139 GB Notification: Performance of collectPreVariables (initialization): time 0.001166/5.346, allocations: 144.9 kB / 3.406 GB, free: 11.09 MB / 2.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.008958/5.355, allocations: 8.686 MB / 3.415 GB, free: 2.406 MB / 2.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/5.357, allocations: 1.53 MB / 3.416 GB, free: 0.8984 MB / 2.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002388/5.359, allocations: 1.5 MB / 3.418 GB, free: 15.39 MB / 2.154 GB Notification: Performance of setup shared object (initialization): time 0.0001116/5.36, allocations: 305.1 kB / 3.418 GB, free: 15.09 MB / 2.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00333/5.363, allocations: 2.082 MB / 3.42 GB, free: 13 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/5.369, allocations: 5.277 MB / 3.425 GB, free: 6.43 MB / 2.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009064/5.378, allocations: 7.136 MB / 3.432 GB, free: 14.54 MB / 2.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.58e-05/5.378, allocations: 24 kB / 3.432 GB, free: 14.51 MB / 2.17 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01594/5.394, allocations: 8.448 MB / 3.44 GB, free: 6.551 MB / 2.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/5.394, allocations: 43.94 kB / 3.44 GB, free: 6.508 MB / 2.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.851e-05/5.395, allocations: 85.14 kB / 3.441 GB, free: 6.426 MB / 2.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/5.395, allocations: 120 kB / 3.441 GB, free: 6.309 MB / 2.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/5.399, allocations: 1.458 MB / 3.442 GB, free: 4.961 MB / 2.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/5.399, allocations: 170.7 kB / 3.442 GB, free: 4.828 MB / 2.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009952/5.409, allocations: 1.352 MB / 3.444 GB, free: 3.469 MB / 2.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008378/5.41, allocations: 391.9 kB / 3.444 GB, free: 3.086 MB / 2.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * 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 (847): * Single equations (assignments): 847 * 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.00731/5.417, allocations: 3.587 MB / 3.447 GB, free: 15.6 MB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004475/5.422, allocations: 1.743 MB / 3.449 GB, free: 13.85 MB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01295/5.434, allocations: 7.55 MB / 3.457 GB, free: 6.383 MB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001249/5.435, allocations: 87.94 kB / 3.457 GB, free: 6.297 MB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/5.435, allocations: 15.94 kB / 3.457 GB, free: 6.281 MB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004231/5.439, allocations: 3.845 MB / 3.46 GB, free: 2.141 MB / 2.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04459/5.484, allocations: 28.8 MB / 3.488 GB, free: 5.223 MB / 2.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/5.484, allocations: 28 kB / 3.489 GB, free: 5.195 MB / 2.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002517/5.486, allocations: 0.7773 MB / 3.489 GB, free: 4.469 MB / 2.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.106e-05/5.486, allocations: 52 kB / 3.489 GB, free: 4.418 MB / 2.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/5.486, allocations: 152 kB / 3.489 GB, free: 4.27 MB / 2.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.212e-05/5.487, allocations: 70.69 kB / 3.49 GB, free: 4.215 MB / 2.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.305e-05/5.487, allocations: 49.97 kB / 3.49 GB, free: 4.18 MB / 2.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01661/5.503, allocations: 12.06 MB / 3.501 GB, free: 7.574 MB / 2.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007809/5.511, allocations: 2.928 MB / 3.504 GB, free: 4.613 MB / 2.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00364/5.515, allocations: 155.7 kB / 3.504 GB, free: 4.461 MB / 2.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008085/5.523, allocations: 255 kB / 3.505 GB, free: 4.215 MB / 2.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000689/5.523, allocations: 401.8 kB / 3.505 GB, free: 3.848 MB / 2.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00059/5.524, allocations: 259.8 kB / 3.505 GB, free: 3.594 MB / 2.232 GB Notification: Performance of sorting global known variables: time 0.02184/5.546, allocations: 11.85 MB / 3.517 GB, free: 7.84 MB / 2.248 GB Notification: Performance of sort global known variables: time 5.21e-07/5.546, allocations: 4 kB / 3.517 GB, free: 7.836 MB / 2.248 GB Notification: Performance of remove unused functions: time 0.01743/5.563, allocations: 5.407 MB / 3.522 GB, free: 2.418 MB / 2.248 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.027/5.59, allocations: 16.91 MB / 3.539 GB, free: 1.387 MB / 2.264 GB Notification: Performance of simCode: created initialization part: time 0.009963/5.6, allocations: 5.662 MB / 3.544 GB, free: 12.04 MB / 2.279 GB Notification: Performance of simCode: created event and clocks part: time 2.861e-05/5.6, allocations: 8 kB / 3.544 GB, free: 12.03 MB / 2.279 GB Notification: Performance of simCode: created simulation system equations: time 0.003823/5.604, allocations: 2.588 MB / 3.547 GB, free: 9.605 MB / 2.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04492/5.649, allocations: 10.01 MB / 3.556 GB, free: 15.91 MB / 2.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2046/5.854, allocations: 118.7 MB / 3.672 GB, free: 5.793 MB / 2.404 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009757/5.864, allocations: 7.783 MB / 3.68 GB, free: 13.96 MB / 2.42 GB Notification: Performance of simCode: alias equations: time 0.01196/5.876, allocations: 3.245 MB / 3.683 GB, free: 10.75 MB / 2.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01246/5.888, allocations: 8.063 MB / 3.691 GB, free: 2.684 MB / 2.42 GB Notification: Performance of SimCode: time 8.42e-07/5.888, allocations: 0 / 3.691 GB, free: 2.684 MB / 2.42 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 12.13/18.01, allocations: 0.4945 GB / 4.186 GB, free: 1.129 GB / 2.514 GB Notification: Performance of buildModelFMU: Generate platform static: time 92.77/110.8, allocations: 7.984 kB / 4.186 GB, free: 1.129 GB / 2.514 GB (rm -f Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches