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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8479/0.8479, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.642/1.642, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.372e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 2.359/2.36, allocations: 1.249 GB / 2.248 GB, free: 104.7 MB / 1.651 GB Notification: Performance of NFInst.instExpressions: time 0.2346/2.594, allocations: 310.5 MB / 2.552 GB, free: 68.18 MB / 1.651 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.038/2.632, allocations: 1.643 MB / 2.553 GB, free: 68.18 MB / 1.651 GB Notification: Performance of NFTyping.typeComponents: time 0.02881/2.661, allocations: 13.59 MB / 2.566 GB, free: 60.42 MB / 1.651 GB Notification: Performance of NFTyping.typeBindings: time 0.06553/2.726, allocations: 34.61 MB / 2.6 GB, free: 38.13 MB / 1.651 GB Notification: Performance of NFTyping.typeClassSections: time 0.03272/2.759, allocations: 20.91 MB / 2.621 GB, free: 21.27 MB / 1.651 GB Notification: Performance of NFFlatten.flatten: time 0.05428/2.813, allocations: 57.83 MB / 2.677 GB, free: 13.08 MB / 1.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0265/2.84, allocations: 16.08 MB / 2.693 GB, free: 13.58 MB / 1.714 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06609/2.906, allocations: 36.5 MB / 2.728 GB, free: 11.05 MB / 1.745 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02276/2.929, allocations: 15.95 MB / 2.744 GB, free: 12.45 MB / 1.76 GB Notification: Performance of NFPackage.collectConstants: time 0.004435/2.933, allocations: 2.133 MB / 2.746 GB, free: 10.32 MB / 1.76 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02855/2.962, allocations: 15.73 MB / 2.761 GB, free: 11.26 MB / 1.776 GB Notification: Performance of NFScalarize.scalarize: time 0.004978/2.967, allocations: 5.217 MB / 2.767 GB, free: 6.32 MB / 1.776 GB Notification: Performance of NFVerifyModel.verify: time 0.01268/2.979, allocations: 7.325 MB / 2.774 GB, free: 15.27 MB / 1.792 GB Notification: Performance of NFConvertDAE.convert: time 0.05227/3.032, allocations: 42.31 MB / 2.815 GB, free: 6.535 MB / 1.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/3.032, allocations: 0 / 2.815 GB, free: 6.535 MB / 1.823 GB Notification: Performance of FrontEnd: time 1.994e-06/3.032, allocations: 0 / 2.815 GB, free: 6.535 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.001195/3.033, allocations: 0 / 2.815 GB, free: 6.535 MB / 1.823 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.02568/3.059, allocations: 21.13 MB / 2.836 GB, free: 1.484 MB / 1.839 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/3.059, allocations: 8.75 kB / 2.836 GB, free: 1.477 MB / 1.839 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001325/3.06, allocations: 1.643 MB / 2.837 GB, free: 15.84 MB / 1.854 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003312/3.063, allocations: 2.344 MB / 2.84 GB, free: 13.48 MB / 1.854 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01875/3.082, allocations: 18.63 MB / 2.858 GB, free: 11.11 MB / 1.87 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000408/3.082, allocations: 0.9777 MB / 2.859 GB, free: 10.13 MB / 1.87 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/3.083, allocations: 1.289 MB / 2.86 GB, free: 8.84 MB / 1.87 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/3.1, allocations: 17.06 MB / 2.877 GB, free: 6.426 MB / 1.885 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001766/3.1, allocations: 43.62 kB / 2.877 GB, free: 6.383 MB / 1.885 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007248/3.101, allocations: 0.539 MB / 2.877 GB, free: 5.844 MB / 1.885 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/3.101, allocations: 347.9 kB / 2.878 GB, free: 5.504 MB / 1.885 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/3.112, allocations: 10.08 MB / 2.887 GB, free: 11.46 MB / 1.901 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.4672/3.579, allocations: 59.71 MB / 2.946 GB, free: 0.9505 GB / 1.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/3.584, allocations: 4.353 MB / 2.95 GB, free: 0.9498 GB / 1.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/3.586, allocations: 2.281 MB / 2.952 GB, free: 0.9496 GB / 1.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03611/3.622, allocations: 22.88 MB / 2.975 GB, free: 0.9496 GB / 1.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.31e-05/3.622, allocations: 117.4 kB / 2.975 GB, free: 0.9495 GB / 1.948 GB Notification: Performance of pre-optimization done (n=412): time 5.881e-06/3.622, allocations: 0 / 2.975 GB, free: 0.9495 GB / 1.948 GB Notification: Performance of matching and sorting (n=412): time 0.01117/3.633, allocations: 7.073 MB / 2.982 GB, free: 0.9485 GB / 1.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/3.633, allocations: 0.7901 MB / 2.982 GB, free: 0.9476 GB / 1.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02054/3.654, allocations: 16.76 MB / 2.999 GB, free: 0.9418 GB / 1.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008316/3.654, allocations: 146.7 kB / 2.999 GB, free: 0.9417 GB / 1.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004371/3.659, allocations: 8.616 MB / 3.007 GB, free: 0.9363 GB / 1.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/3.66, allocations: 1.519 MB / 3.009 GB, free: 0.9353 GB / 1.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/3.661, allocations: 1.484 MB / 3.01 GB, free: 0.9347 GB / 1.948 GB Notification: Performance of setup shared object (initialization): time 2.382e-05/3.661, allocations: 302.6 kB / 3.01 GB, free: 0.9344 GB / 1.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/3.664, allocations: 2.086 MB / 3.013 GB, free: 0.9336 GB / 1.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/3.668, allocations: 9.604 MB / 3.022 GB, free: 0.9239 GB / 1.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/3.674, allocations: 7.132 MB / 3.029 GB, free: 0.9188 GB / 1.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.325e-05/3.674, allocations: 23.78 kB / 3.029 GB, free: 0.9188 GB / 1.948 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01116/3.685, allocations: 8.446 MB / 3.037 GB, free: 0.9153 GB / 1.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.822e-05/3.685, allocations: 40.23 kB / 3.037 GB, free: 0.9153 GB / 1.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.776e-05/3.685, allocations: 83.38 kB / 3.037 GB, free: 0.9153 GB / 1.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.868e-05/3.685, allocations: 122.4 kB / 3.037 GB, free: 0.9153 GB / 1.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/3.688, allocations: 1.46 MB / 3.039 GB, free: 0.9151 GB / 1.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.116e-05/3.688, allocations: 173.1 kB / 3.039 GB, free: 0.9151 GB / 1.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006086/3.694, allocations: 1.354 MB / 3.04 GB, free: 0.9143 GB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004922/3.694, allocations: 393.8 kB / 3.041 GB, free: 0.9142 GB / 1.948 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.004819/3.699, allocations: 3.559 MB / 3.044 GB, free: 0.9122 GB / 1.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002526/3.702, allocations: 1.743 MB / 3.046 GB, free: 0.9113 GB / 1.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/3.709, allocations: 7.717 MB / 3.053 GB, free: 0.9084 GB / 1.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.286e-05/3.709, allocations: 88.48 kB / 3.053 GB, free: 0.9083 GB / 1.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/3.709, allocations: 8.688 kB / 3.053 GB, free: 0.9083 GB / 1.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002361/3.712, allocations: 3.894 MB / 3.057 GB, free: 0.9057 GB / 1.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/3.735, allocations: 26.98 MB / 3.084 GB, free: 0.8927 GB / 1.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/3.735, allocations: 31.97 kB / 3.084 GB, free: 0.8927 GB / 1.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/3.737, allocations: 0.7709 MB / 3.084 GB, free: 0.8926 GB / 1.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.41e-05/3.737, allocations: 54.78 kB / 3.084 GB, free: 0.8926 GB / 1.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/3.737, allocations: 159.9 kB / 3.085 GB, free: 0.8926 GB / 1.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.466e-05/3.737, allocations: 70.66 kB / 3.085 GB, free: 0.8925 GB / 1.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/3.737, allocations: 52.19 kB / 3.085 GB, free: 0.8925 GB / 1.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008724/3.745, allocations: 12.14 MB / 3.097 GB, free: 0.8854 GB / 1.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00358/3.749, allocations: 2.853 MB / 3.099 GB, free: 0.8835 GB / 1.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/3.75, allocations: 151.5 kB / 3.099 GB, free: 0.8834 GB / 1.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/3.753, allocations: 264.9 kB / 3.1 GB, free: 0.8832 GB / 1.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/3.753, allocations: 423.4 kB / 3.1 GB, free: 0.883 GB / 1.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002343/3.754, allocations: 257 kB / 3.1 GB, free: 0.8828 GB / 1.948 GB Notification: Performance of sorting global known variables: time 0.01025/3.764, allocations: 11.82 MB / 3.112 GB, free: 0.873 GB / 1.948 GB Notification: Performance of sort global known variables: time 1.8e-07/3.764, allocations: 0 / 3.112 GB, free: 0.873 GB / 1.948 GB Notification: Performance of remove unused functions: time 0.01006/3.774, allocations: 5.419 MB / 3.117 GB, free: 0.8678 GB / 1.948 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.01364/3.788, allocations: 17.17 MB / 3.134 GB, free: 0.8517 GB / 1.948 GB Notification: Performance of simCode: created initialization part: time 0.005527/3.793, allocations: 5.532 MB / 3.139 GB, free: 0.8463 GB / 1.948 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/3.793, allocations: 15.28 kB / 3.139 GB, free: 0.8463 GB / 1.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001773/3.795, allocations: 2.478 MB / 3.142 GB, free: 0.8439 GB / 1.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02005/3.815, allocations: 9.617 MB / 3.151 GB, free: 0.8351 GB / 1.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1395/3.955, allocations: 118.9 MB / 3.267 GB, free: 0.7145 GB / 1.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004253/3.959, allocations: 7.508 MB / 3.275 GB, free: 0.7071 GB / 1.948 GB Notification: Performance of simCode: alias equations: time 0.008459/3.967, allocations: 3.193 MB / 3.278 GB, free: 0.7042 GB / 1.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005516/3.973, allocations: 8.014 MB / 3.286 GB, free: 0.6964 GB / 1.948 GB Notification: Performance of SimCode: time 1.262e-06/3.973, allocations: 0 / 3.286 GB, free: 0.6964 GB / 1.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4047/4.377, allocations: 0.5189 GB / 3.805 GB, free: 184.6 MB / 1.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.8/32.18, allocations: 11.91 kB / 3.805 GB, free: 184.6 MB / 1.948 GB " [Timeout remaining time 268] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS.fmu > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.pipe 2>&1) [Timeout 840.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 38.14177625440061]