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.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.001295/0.001295, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001546/0.001546, allocations: 217.5 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.601/2.601, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS,fileNamePrefix="Buildings_11_Buildings_DHC_Loads_BaseClasses_Validation_BuildingWithETS",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 64.44 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3127, allocations: 169.9 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.BuildingWithETS): time 3.003/3.316, allocations: 1.258 GB / 2.542 GB, free: 122.8 MB / 1.701 GB Notification: Performance of NFInst.instExpressions: time 0.3891/3.705, allocations: 312 MB / 2.846 GB, free: 6.82 MB / 1.842 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04584/3.75, allocations: 1.681 MB / 2.848 GB, free: 5.125 MB / 1.842 GB Notification: Performance of NFTyping.typeComponents: time 0.04047/3.791, allocations: 13.44 MB / 2.861 GB, free: 7.602 MB / 1.857 GB Notification: Performance of NFTyping.typeBindings: time 0.09582/3.887, allocations: 34.09 MB / 2.895 GB, free: 5.391 MB / 1.889 GB Notification: Performance of NFTyping.typeClassSections: time 0.05432/3.941, allocations: 20.43 MB / 2.914 GB, free: 1.086 MB / 1.904 GB Notification: Performance of NFFlatten.flatten: time 0.08533/4.026, allocations: 58.75 MB / 2.972 GB, free: 6.176 MB / 1.967 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03692/4.063, allocations: 16.91 MB / 2.988 GB, free: 5.102 MB / 1.982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06011/4.123, allocations: 26.4 MB / 3.014 GB, free: 10.64 MB / 2.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.227/6.351, allocations: 18.56 MB / 3.032 GB, free: 67.32 MB / 2.014 GB Notification: Performance of NFPackage.collectConstants: time 0.01143/6.362, allocations: 2.132 MB / 3.034 GB, free: 67.32 MB / 2.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04459/6.407, allocations: 16.02 MB / 3.05 GB, free: 67.32 MB / 2.014 GB Notification: Performance of NFScalarize.scalarize: time 0.01227/6.419, allocations: 5.1 MB / 3.055 GB, free: 67.32 MB / 2.014 GB Notification: Performance of NFVerifyModel.verify: time 0.02888/6.448, allocations: 8.698 MB / 3.063 GB, free: 67.32 MB / 2.014 GB Notification: Performance of NFConvertDAE.convert: time 0.08471/6.532, allocations: 41.16 MB / 3.104 GB, free: 64.52 MB / 2.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/6.532, allocations: 0 / 3.104 GB, free: 64.52 MB / 2.014 GB Notification: Performance of FrontEnd: time 2.043e-06/6.532, allocations: 0 / 3.104 GB, free: 64.52 MB / 2.014 GB Notification: Performance of Transformations before backend: time 0.001321/6.534, allocations: 6.438 kB / 3.104 GB, free: 64.52 MB / 2.014 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.07418/6.608, allocations: 21.47 MB / 3.125 GB, free: 55.55 MB / 2.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/6.608, allocations: 9.406 kB / 3.125 GB, free: 55.55 MB / 2.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004062/6.608, allocations: 330.4 kB / 3.125 GB, free: 55.52 MB / 2.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009343/6.618, allocations: 1.635 MB / 3.127 GB, free: 55.4 MB / 2.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/6.632, allocations: 2.356 MB / 3.129 GB, free: 54.25 MB / 2.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04844/6.68, allocations: 18.77 MB / 3.147 GB, free: 51.09 MB / 2.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001422/6.682, allocations: 0.9724 MB / 3.148 GB, free: 51.06 MB / 2.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006407/6.688, allocations: 1.294 MB / 3.149 GB, free: 51.05 MB / 2.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05178/6.74, allocations: 17.06 MB / 3.166 GB, free: 45.74 MB / 2.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009588/6.741, allocations: 40.05 kB / 3.166 GB, free: 45.73 MB / 2.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005636/6.746, allocations: 0.5356 MB / 3.167 GB, free: 45.73 MB / 2.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005529/6.747, allocations: 354.3 kB / 3.167 GB, free: 45.73 MB / 2.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/6.774, allocations: 10.1 MB / 3.177 GB, free: 45.66 MB / 2.014 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.114/6.888, allocations: 59.86 MB / 3.235 GB, free: 35.53 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007431/6.895, allocations: 4.347 MB / 3.24 GB, free: 34.86 MB / 2.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00368/6.899, allocations: 2.281 MB / 3.242 GB, free: 34.63 MB / 2.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07136/6.97, allocations: 22.9 MB / 3.264 GB, free: 33.09 MB / 2.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/6.97, allocations: 118.8 kB / 3.264 GB, free: 33.05 MB / 2.029 GB Notification: Performance of pre-optimization done (n=412): time 1.869e-05/6.97, allocations: 0 / 3.264 GB, free: 33.05 MB / 2.029 GB Notification: Performance of matching and sorting (n=412): time 0.01886/6.989, allocations: 7.088 MB / 3.271 GB, free: 32 MB / 2.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00038/6.99, allocations: 0.7902 MB / 3.272 GB, free: 31.09 MB / 2.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04305/7.033, allocations: 16.71 MB / 3.288 GB, free: 30.07 MB / 2.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001849/7.035, allocations: 145 kB / 3.288 GB, free: 30.04 MB / 2.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.01058/7.045, allocations: 8.693 MB / 3.297 GB, free: 28.07 MB / 2.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.002385/7.048, allocations: 1.53 MB / 3.298 GB, free: 27.09 MB / 2.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002655/7.05, allocations: 1.5 MB / 3.3 GB, free: 26.96 MB / 2.029 GB Notification: Performance of setup shared object (initialization): time 0.0001344/7.05, allocations: 305.1 kB / 3.3 GB, free: 26.66 MB / 2.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002966/7.053, allocations: 2.086 MB / 3.302 GB, free: 26.65 MB / 2.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006778/7.06, allocations: 9.6 MB / 3.312 GB, free: 17.8 MB / 2.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007953/7.068, allocations: 7.137 MB / 3.319 GB, free: 14.81 MB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.408e-05/7.068, allocations: 22.75 kB / 3.319 GB, free: 14.81 MB / 2.029 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.01738/7.086, allocations: 8.468 MB / 3.327 GB, free: 13.71 MB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-05/7.086, allocations: 39.59 kB / 3.327 GB, free: 13.71 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/7.086, allocations: 80.78 kB / 3.327 GB, free: 13.71 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/7.086, allocations: 119.5 kB / 3.327 GB, free: 13.71 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005127/7.091, allocations: 1.457 MB / 3.328 GB, free: 13.71 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002563/7.091, allocations: 169.9 kB / 3.329 GB, free: 13.71 MB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/7.105, allocations: 1.359 MB / 3.33 GB, free: 12.96 MB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/7.107, allocations: 391.1 kB / 3.33 GB, free: 12.96 MB / 2.029 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.01175/7.119, allocations: 3.57 MB / 3.334 GB, free: 12.79 MB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006953/7.126, allocations: 1.75 MB / 3.336 GB, free: 11.82 MB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/7.143, allocations: 7.702 MB / 3.343 GB, free: 11.34 MB / 2.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002035/7.143, allocations: 78.92 kB / 3.343 GB, free: 11.34 MB / 2.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.234e-05/7.143, allocations: 11.38 kB / 3.343 GB, free: 11.34 MB / 2.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004502/7.148, allocations: 3.892 MB / 3.347 GB, free: 9.59 MB / 2.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06016/7.208, allocations: 27.02 MB / 3.373 GB, free: 5.496 MB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001634/7.208, allocations: 31.25 kB / 3.373 GB, free: 5.496 MB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003313/7.211, allocations: 0.7732 MB / 3.374 GB, free: 5.492 MB / 2.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.815e-05/7.211, allocations: 52.88 kB / 3.374 GB, free: 5.492 MB / 2.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/7.212, allocations: 151.9 kB / 3.374 GB, free: 5.492 MB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.524e-05/7.212, allocations: 71.72 kB / 3.374 GB, free: 5.492 MB / 2.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.833e-05/7.212, allocations: 51.34 kB / 3.374 GB, free: 5.492 MB / 2.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/7.235, allocations: 12.21 MB / 3.386 GB, free: 1.141 MB / 2.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01065/7.245, allocations: 2.855 MB / 3.389 GB, free: 48 kB / 2.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006518/7.252, allocations: 154.3 kB / 3.389 GB, free: 28 kB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01152/7.263, allocations: 263.3 kB / 3.39 GB, free: 0 / 2.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001448/7.265, allocations: 424.2 kB / 3.39 GB, free: 15.98 MB / 2.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00157/7.266, allocations: 263.8 kB / 3.39 GB, free: 15.97 MB / 2.045 GB Notification: Performance of sorting global known variables: time 0.03086/7.297, allocations: 11.88 MB / 3.402 GB, free: 13.69 MB / 2.045 GB Notification: Performance of sort global known variables: time 2.01e-07/7.297, allocations: 0 / 3.402 GB, free: 13.69 MB / 2.045 GB Notification: Performance of remove unused functions: time 0.02509/7.322, allocations: 5.422 MB / 3.407 GB, free: 12.25 MB / 2.045 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.04183/7.364, allocations: 17.03 MB / 3.424 GB, free: 14.19 MB / 2.061 GB Notification: Performance of simCode: created initialization part: time 0.01323/7.377, allocations: 5.532 MB / 3.429 GB, free: 10.58 MB / 2.061 GB Notification: Performance of simCode: created event and clocks part: time 7.01e-05/7.378, allocations: 10.25 kB / 3.429 GB, free: 10.57 MB / 2.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005161/7.383, allocations: 2.461 MB / 3.432 GB, free: 8.973 MB / 2.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06155/7.444, allocations: 10.01 MB / 3.441 GB, free: 0.6055 MB / 2.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3271/7.771, allocations: 118.8 MB / 3.557 GB, free: 8.977 MB / 2.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02135/7.793, allocations: 7.532 MB / 3.565 GB, free: 1.395 MB / 2.186 GB Notification: Performance of simCode: alias equations: time 0.02027/7.813, allocations: 3.242 MB / 3.568 GB, free: 14.18 MB / 2.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02069/7.834, allocations: 8.058 MB / 3.576 GB, free: 6.117 MB / 2.201 GB Notification: Performance of SimCode: time 2.595e-06/7.834, allocations: 4 kB / 3.576 GB, free: 6.113 MB / 2.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.511/9.344, allocations: 0.5245 GB / 4.1 GB, free: 1.326 GB / 2.529 GB Notification: Performance of buildModelFMU: Generate platform static: time 67.21/76.56, allocations: 14.81 kB / 4.1 GB, free: 1.326 GB / 2.529 GB " [Timeout remaining time 223] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 298] Reference file matches [Calling sys.exit(0), Time elapsed: 88.05860335589387]