Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_latest_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.001208/0.001208, 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.001181/0.001181, allocations: 192.5 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.227/1.227, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 61.3 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2358, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.817/3.052, allocations: 1.36 GB / 2.412 GB, free: 82.07 MB / 1.561 GB Notification: Performance of NFInst.instExpressions: time 0.2888/3.341, allocations: 334.7 MB / 2.739 GB, free: 28.11 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03842/3.38, allocations: 1.124 MB / 2.74 GB, free: 27.43 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.03019/3.41, allocations: 10.88 MB / 2.751 GB, free: 16.98 MB / 1.561 GB Notification: Performance of NFTyping.typeBindings: time 0.0717/3.482, allocations: 29.43 MB / 2.78 GB, free: 8.098 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.0431/3.525, allocations: 18.06 MB / 2.797 GB, free: 8.023 MB / 1.592 GB Notification: Performance of NFFlatten.flatten: time 0.07866/3.603, allocations: 75.91 MB / 2.871 GB, free: 13.63 MB / 1.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03213/3.636, allocations: 18.97 MB / 2.89 GB, free: 10.77 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0444/3.68, allocations: 20.94 MB / 2.91 GB, free: 6.844 MB / 1.701 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0287/3.709, allocations: 17.71 MB / 2.928 GB, free: 6.281 MB / 1.717 GB Notification: Performance of NFPackage.collectConstants: time 0.004777/3.714, allocations: 0.8984 MB / 2.928 GB, free: 5.383 MB / 1.717 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03707/3.751, allocations: 15.86 MB / 2.944 GB, free: 6.234 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.006401/3.757, allocations: 3.682 MB / 2.948 GB, free: 2.605 MB / 1.732 GB Notification: Performance of NFVerifyModel.verify: time 0.01686/3.774, allocations: 9.867 MB / 2.957 GB, free: 8.758 MB / 1.748 GB Notification: Performance of NFConvertDAE.convert: time 0.05559/3.83, allocations: 41.04 MB / 2.997 GB, free: 1.027 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/3.83, allocations: 7.984 kB / 2.997 GB, free: 1.02 MB / 1.779 GB Notification: Performance of FrontEnd: time 1.262e-06/3.83, allocations: 0 / 2.997 GB, free: 1.02 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.0007549/3.83, allocations: 0 / 2.997 GB, free: 1.02 MB / 1.779 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.03612/3.867, allocations: 20.92 MB / 3.018 GB, free: 12.16 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/3.867, allocations: 11.97 kB / 3.018 GB, free: 12.15 MB / 1.811 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002355/3.869, allocations: 1.644 MB / 3.019 GB, free: 10.5 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005669/3.875, allocations: 2.248 MB / 3.021 GB, free: 8.227 MB / 1.811 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/3.902, allocations: 18.07 MB / 3.039 GB, free: 6.461 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006485/3.903, allocations: 0.9727 MB / 3.04 GB, free: 5.488 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002116/3.905, allocations: 1.293 MB / 3.041 GB, free: 4.199 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4323/4.337, allocations: 14.48 MB / 3.055 GB, free: 0.9372 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002052/4.337, allocations: 39.69 kB / 3.056 GB, free: 0.9372 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000988/4.338, allocations: 0.5359 MB / 3.056 GB, free: 0.9372 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001937/4.339, allocations: 345.1 kB / 3.056 GB, free: 0.9372 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/4.357, allocations: 10.09 MB / 3.066 GB, free: 0.9361 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.06344/4.42, allocations: 74.79 MB / 3.139 GB, free: 0.8795 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005241/4.425, allocations: 4.572 MB / 3.144 GB, free: 0.8769 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/4.428, allocations: 2.428 MB / 3.146 GB, free: 0.8755 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06369/4.491, allocations: 51.51 MB / 3.196 GB, free: 0.8324 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/4.492, allocations: 118.7 kB / 3.197 GB, free: 0.8323 GB / 1.826 GB Notification: Performance of pre-optimization done (n=412): time 5.911e-06/4.492, allocations: 0 / 3.197 GB, free: 0.8323 GB / 1.826 GB Notification: Performance of matching and sorting (n=412): time 0.01199/4.504, allocations: 6.979 MB / 3.203 GB, free: 0.8289 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/4.504, allocations: 0.7885 MB / 3.204 GB, free: 0.828 GB / 1.826 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0186/4.522, allocations: 16.44 MB / 3.22 GB, free: 0.8198 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.0008132/4.523, allocations: 141.7 kB / 3.22 GB, free: 0.8197 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.004917/4.528, allocations: 8.655 MB / 3.229 GB, free: 0.8122 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.001251/4.529, allocations: 1.455 MB / 3.23 GB, free: 0.811 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/4.531, allocations: 1.45 MB / 3.232 GB, free: 0.8102 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 3.477e-05/4.531, allocations: 301.1 kB / 3.232 GB, free: 0.8099 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/4.533, allocations: 2.041 MB / 3.234 GB, free: 0.8083 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003927/4.537, allocations: 5.095 MB / 3.239 GB, free: 0.8022 GB / 1.826 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005679/4.543, allocations: 6.882 MB / 3.246 GB, free: 0.7946 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/4.543, allocations: 23.94 kB / 3.246 GB, free: 0.7946 GB / 1.826 GB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01133/4.554, allocations: 8.152 MB / 3.254 GB, free: 0.7867 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/4.554, allocations: 38.19 kB / 3.254 GB, free: 0.7867 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.935e-05/4.554, allocations: 76 kB / 3.254 GB, free: 0.7866 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.228e-05/4.555, allocations: 112 kB / 3.254 GB, free: 0.7865 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003361/4.558, allocations: 1.408 MB / 3.255 GB, free: 0.7851 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.054e-05/4.558, allocations: 155.4 kB / 3.255 GB, free: 0.785 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009984/4.568, allocations: 1.854 MB / 3.257 GB, free: 0.7832 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/4.568, allocations: 387.9 kB / 3.257 GB, free: 0.7828 GB / 1.826 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.005144/4.574, allocations: 3.557 MB / 3.261 GB, free: 0.7793 GB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002772/4.576, allocations: 1.647 MB / 3.263 GB, free: 0.7777 GB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/4.587, allocations: 7.577 MB / 3.27 GB, free: 0.7705 GB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.892e-05/4.587, allocations: 83.94 kB / 3.27 GB, free: 0.7704 GB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/4.587, allocations: 11.94 kB / 3.27 GB, free: 0.7704 GB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002927/4.59, allocations: 3.832 MB / 3.274 GB, free: 0.7663 GB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03048/4.62, allocations: 28.72 MB / 3.302 GB, free: 0.7379 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/4.62, allocations: 40 kB / 3.302 GB, free: 0.7379 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/4.622, allocations: 0.7684 MB / 3.303 GB, free: 0.7371 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/4.622, allocations: 52 kB / 3.303 GB, free: 0.7371 GB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002203/4.623, allocations: 155.9 kB / 3.303 GB, free: 0.7369 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.183e-05/4.623, allocations: 67.73 kB / 3.303 GB, free: 0.7369 GB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.712e-05/4.623, allocations: 47.81 kB / 3.303 GB, free: 0.7368 GB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/4.634, allocations: 11.96 MB / 3.315 GB, free: 0.7245 GB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005334/4.64, allocations: 2.833 MB / 3.317 GB, free: 0.7217 GB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002829/4.642, allocations: 163.5 kB / 3.318 GB, free: 0.7216 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007825/4.65, allocations: 0.5997 MB / 3.318 GB, free: 0.721 GB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/4.651, allocations: 406.6 kB / 3.319 GB, free: 0.7206 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004832/4.651, allocations: 259.8 kB / 3.319 GB, free: 0.7204 GB / 1.826 GB Notification: Performance of sorting global known variables: time 0.01486/4.666, allocations: 11.7 MB / 3.33 GB, free: 0.709 GB / 1.826 GB Notification: Performance of sort global known variables: time 3.9e-07/4.666, allocations: 0 / 3.33 GB, free: 0.709 GB / 1.826 GB Notification: Performance of remove unused functions: time 0.01348/4.679, allocations: 5.295 MB / 3.335 GB, free: 0.7041 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.01895/4.698, allocations: 16.79 MB / 3.352 GB, free: 0.6876 GB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.006704/4.705, allocations: 5.496 MB / 3.357 GB, free: 0.6822 GB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-05/4.705, allocations: 8 kB / 3.357 GB, free: 0.6822 GB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/4.708, allocations: 2.583 MB / 3.36 GB, free: 0.6797 GB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03725/4.745, allocations: 9.642 MB / 3.369 GB, free: 0.6708 GB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4301/5.175, allocations: 278.2 MB / 3.641 GB, free: 388.3 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00551/5.181, allocations: 7.783 MB / 3.648 GB, free: 380.4 MB / 1.826 GB Notification: Performance of simCode: alias equations: time 0.01147/5.192, allocations: 3.233 MB / 3.651 GB, free: 377.4 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007562/5.2, allocations: 8.056 MB / 3.659 GB, free: 369.4 MB / 1.826 GB Notification: Performance of SimCode: time 1.283e-06/5.2, allocations: 0 / 3.659 GB, free: 369.4 MB / 1.826 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/6.51, allocations: 493.9 MB / 4.142 GB, free: 0.8534 GB / 1.826 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/6.51, allocations: 286.1 kB / 4.142 GB, free: 0.8531 GB / 1.826 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/21.01, allocations: 0 / 4.142 GB, free: 0.8531 GB / 1.826 GB (rm -f Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat --tempDir=temp_Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Experimental_DHC_Loads_BaseClasses_Validation_BuildingWithETS.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches