Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.187/1.187, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.396/2.396, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 65.83 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2376, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.45/3.688, allocations: 1.369 GB / 2.422 GB, free: 81.91 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 0.3232/4.011, allocations: 333.9 MB / 2.748 GB, free: 21.86 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04642/4.058, allocations: 1.221 MB / 2.75 GB, free: 21.1 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.03201/4.09, allocations: 13.25 MB / 2.763 GB, free: 9.277 MB / 1.561 GB Notification: Performance of NFTyping.typeBindings: time 0.0871/4.177, allocations: 32.23 MB / 2.794 GB, free: 13.57 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.04833/4.225, allocations: 19.64 MB / 2.813 GB, free: 11.91 MB / 1.607 GB Notification: Performance of NFFlatten.flatten: time 0.07491/4.3, allocations: 58.14 MB / 2.87 GB, free: 3.312 MB / 1.654 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04984/4.35, allocations: 23.37 MB / 2.893 GB, free: 12.06 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05532/4.405, allocations: 24.88 MB / 2.917 GB, free: 4.617 MB / 1.701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03337/4.439, allocations: 17.73 MB / 2.934 GB, free: 4.023 MB / 1.717 GB Notification: Performance of NFPackage.collectConstants: time 0.008492/4.447, allocations: 2.133 MB / 2.936 GB, free: 1.891 MB / 1.717 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04354/4.491, allocations: 17.8 MB / 2.954 GB, free: 0.7891 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.008332/4.499, allocations: 4.882 MB / 2.959 GB, free: 11.96 MB / 1.748 GB Notification: Performance of NFVerifyModel.verify: time 0.02226/4.521, allocations: 11.18 MB / 2.97 GB, free: 0.8047 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 0.06509/4.587, allocations: 40.54 MB / 3.009 GB, free: 9.562 MB / 1.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/4.587, allocations: 0 / 3.009 GB, free: 9.562 MB / 1.795 GB Notification: Performance of FrontEnd: time 1.473e-06/4.587, allocations: 0 / 3.009 GB, free: 9.562 MB / 1.795 GB Notification: Performance of Transformations before backend: time 0.0009593/4.588, allocations: 0 / 3.009 GB, free: 9.562 MB / 1.795 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.04461/4.632, allocations: 20.91 MB / 3.03 GB, free: 4.711 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/4.632, allocations: 8.625 kB / 3.03 GB, free: 4.703 MB / 1.811 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004211/4.636, allocations: 1.64 MB / 3.031 GB, free: 3.055 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008116/4.645, allocations: 2.254 MB / 3.033 GB, free: 0.7773 MB / 1.811 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4668/5.111, allocations: 17.67 MB / 3.051 GB, free: 0.9397 GB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009358/5.112, allocations: 0.9764 MB / 3.052 GB, free: 0.9397 GB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003297/5.116, allocations: 1.289 MB / 3.053 GB, free: 0.9397 GB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03112/5.147, allocations: 14.62 MB / 3.067 GB, free: 0.9374 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/5.147, allocations: 44.95 kB / 3.067 GB, free: 0.9374 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002043/5.149, allocations: 0.5319 MB / 3.068 GB, free: 0.9374 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003871/5.15, allocations: 347.4 kB / 3.068 GB, free: 0.9374 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/5.169, allocations: 10.09 MB / 3.078 GB, free: 0.9343 GB / 1.826 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.07405/5.243, allocations: 77.09 MB / 3.153 GB, free: 0.8759 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00592/5.249, allocations: 4.558 MB / 3.158 GB, free: 0.8733 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/5.252, allocations: 2.454 MB / 3.16 GB, free: 0.872 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07254/5.325, allocations: 51.5 MB / 3.21 GB, free: 0.8289 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/5.325, allocations: 118.1 kB / 3.21 GB, free: 0.8288 GB / 1.826 GB Notification: Performance of pre-optimization done (n=412): time 1.584e-05/5.325, allocations: 0 / 3.21 GB, free: 0.8288 GB / 1.826 GB Notification: Performance of matching and sorting (n=412): time 0.01435/5.339, allocations: 6.997 MB / 3.217 GB, free: 0.8254 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/5.34, allocations: 0.7904 MB / 3.218 GB, free: 0.8245 GB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02521/5.365, allocations: 16.67 MB / 3.234 GB, free: 0.8131 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.000992/5.366, allocations: 141.7 kB / 3.234 GB, free: 0.8129 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.006536/5.372, allocations: 8.698 MB / 3.243 GB, free: 0.8044 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/5.374, allocations: 1.458 MB / 3.244 GB, free: 0.803 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/5.376, allocations: 1.494 MB / 3.246 GB, free: 0.8015 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 3.735e-05/5.376, allocations: 305.1 kB / 3.246 GB, free: 0.8012 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/5.378, allocations: 2.086 MB / 3.248 GB, free: 0.7992 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/5.383, allocations: 5.282 MB / 3.253 GB, free: 0.7928 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/5.389, allocations: 7.138 MB / 3.26 GB, free: 0.7849 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.557e-05/5.389, allocations: 24 kB / 3.26 GB, free: 0.7848 GB / 1.826 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01458/5.404, allocations: 8.356 MB / 3.268 GB, free: 0.7767 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/5.404, allocations: 40 kB / 3.268 GB, free: 0.7766 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/5.404, allocations: 84.62 kB / 3.269 GB, free: 0.7766 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001086/5.404, allocations: 120 kB / 3.269 GB, free: 0.7765 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004285/5.408, allocations: 1.462 MB / 3.27 GB, free: 0.775 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001345/5.409, allocations: 171.4 kB / 3.27 GB, free: 0.7749 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/5.419, allocations: 1.334 MB / 3.272 GB, free: 0.7735 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/5.42, allocations: 395.9 kB / 3.272 GB, free: 0.7732 GB / 1.826 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.007435/5.428, allocations: 3.573 MB / 3.275 GB, free: 0.7697 GB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004621/5.432, allocations: 1.655 MB / 3.277 GB, free: 0.768 GB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01387/5.446, allocations: 7.584 MB / 3.284 GB, free: 0.7607 GB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001785/5.446, allocations: 83.94 kB / 3.285 GB, free: 0.7607 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.19e-05/5.446, allocations: 8 kB / 3.285 GB, free: 0.7607 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003819/5.45, allocations: 3.845 MB / 3.288 GB, free: 0.7566 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04188/5.492, allocations: 28.77 MB / 3.316 GB, free: 0.7281 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/5.492, allocations: 32 kB / 3.316 GB, free: 0.7281 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002678/5.495, allocations: 0.7684 MB / 3.317 GB, free: 0.7273 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.375e-05/5.495, allocations: 52 kB / 3.317 GB, free: 0.7273 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005807/5.496, allocations: 155.9 kB / 3.317 GB, free: 0.7271 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-05/5.496, allocations: 71.67 kB / 3.317 GB, free: 0.7271 GB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.775e-05/5.496, allocations: 52.02 kB / 3.317 GB, free: 0.727 GB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/5.511, allocations: 11.95 MB / 3.329 GB, free: 0.7148 GB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006808/5.518, allocations: 2.844 MB / 3.332 GB, free: 0.712 GB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004187/5.522, allocations: 155.6 kB / 3.332 GB, free: 0.7118 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008591/5.53, allocations: 259.1 kB / 3.332 GB, free: 0.7116 GB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007801/5.531, allocations: 398.8 kB / 3.333 GB, free: 0.7112 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008078/5.532, allocations: 259.8 kB / 3.333 GB, free: 0.7109 GB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02123/5.553, allocations: 11.86 MB / 3.345 GB, free: 0.6995 GB / 1.826 GB Notification: Performance of sort global known variables: time 5.01e-07/5.553, allocations: 0 / 3.345 GB, free: 0.6995 GB / 1.826 GB Notification: Performance of remove unused functions: time 0.01682/5.57, allocations: 5.355 MB / 3.35 GB, free: 0.6945 GB / 1.826 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.02599/5.596, allocations: 16.79 MB / 3.366 GB, free: 0.678 GB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.01032/5.607, allocations: 5.941 MB / 3.372 GB, free: 0.6722 GB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 4.397e-05/5.607, allocations: 8 kB / 3.372 GB, free: 0.6722 GB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.00411/5.611, allocations: 2.588 MB / 3.374 GB, free: 0.6696 GB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04553/5.656, allocations: 10.07 MB / 3.384 GB, free: 0.6607 GB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2005/5.857, allocations: 276.4 MB / 3.654 GB, free: 379.3 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005681/5.863, allocations: 7.775 MB / 3.662 GB, free: 371.5 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.01122/5.874, allocations: 3.258 MB / 3.665 GB, free: 368.4 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007351/5.881, allocations: 8.06 MB / 3.673 GB, free: 360.3 MB / 1.826 GB Notification: Performance of SimCode: time 6.31e-07/5.881, allocations: 0 / 3.673 GB, free: 360.3 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.861/8.742, allocations: 0.4931 GB / 4.166 GB, free: 0.8528 GB / 1.826 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.75/34.5, allocations: 4.062 kB / 4.166 GB, free: 0.8528 GB / 1.826 GB (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches