Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Examples.Outside.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.001866/0.001866, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002451/0.002451, allocations: 215.9 kB / 22.25 MB, free: 5.125 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.969 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.769/2.769, allocations: 476.7 MB / 0.7707 GB, free: 4.223 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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",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.002091/0.002091, allocations: 68.92 kB / 1.117 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 169.9 MB / 1.283 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.2198/0.5583, allocations: 180.3 MB / 1.459 GB, free: 14.83 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.5744, allocations: 11.2 MB / 1.47 GB, free: 3.586 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.5755, allocations: 43.62 kB / 1.47 GB, free: 3.543 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.5767, allocations: 428.6 kB / 1.471 GB, free: 3.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.5801, allocations: 1.142 MB / 1.472 GB, free: 1.977 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.5847, allocations: 1.799 MB / 1.474 GB, free: 188 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003329/0.588, allocations: 2.408 MB / 1.476 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.5898, allocations: 1.14 MB / 1.477 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.5931, allocations: 1.349 MB / 1.479 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.5944, allocations: 0.8325 MB / 1.479 GB, free: 10.42 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.5946, allocations: 160 kB / 1.479 GB, free: 10.26 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.5977, allocations: 1.517 MB / 1.481 GB, free: 8.742 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.5981, allocations: 466.5 kB / 1.481 GB, free: 8.285 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000855/0.599, allocations: 0.7969 MB / 1.482 GB, free: 7.484 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004212/0.6032, allocations: 2.643 MB / 1.485 GB, free: 4.832 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.6032, allocations: 4 kB / 1.485 GB, free: 4.828 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6032, allocations: 0 / 1.485 GB, free: 4.828 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.819e-05/0.6032, allocations: 0 / 1.485 GB, free: 4.828 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003785/0.607, allocations: 1.891 MB / 1.487 GB, free: 2.891 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.6071, allocations: 8.031 kB / 1.487 GB, free: 2.883 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/0.6073, allocations: 181.4 kB / 1.487 GB, free: 2.695 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.6102, allocations: 406.6 kB / 1.487 GB, free: 2.297 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.6124, allocations: 0.9279 MB / 1.488 GB, free: 1.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.666e-05/0.6125, allocations: 86.33 kB / 1.488 GB, free: 1.254 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001941/0.6127, allocations: 116 kB / 1.488 GB, free: 1.141 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.6152, allocations: 1.294 MB / 1.49 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.6152, allocations: 0 / 1.49 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6154, allocations: 51.94 kB / 1.49 GB, free: 15.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.6154, allocations: 28 kB / 1.49 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.6179, allocations: 1.461 MB / 1.491 GB, free: 14.23 MB / 1.201 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.007246/0.6252, allocations: 3.984 MB / 1.495 GB, free: 10.05 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.6275, allocations: 1.091 MB / 1.496 GB, free: 8.949 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008155/0.6283, allocations: 412.2 kB / 1.496 GB, free: 8.543 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.629, allocations: 128.8 kB / 1.497 GB, free: 8.418 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/0.6302, allocations: 0.6451 MB / 1.497 GB, free: 7.758 MB / 1.201 GB Notification: Performance of pre-optimization done (n=106): time 2.875e-06/0.6302, allocations: 7.938 kB / 1.497 GB, free: 7.75 MB / 1.201 GB Notification: Performance of matching and sorting (n=106): time 0.004269/0.6345, allocations: 1.539 MB / 1.499 GB, free: 6.203 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.6346, allocations: 192.9 kB / 1.499 GB, free: 5.973 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.636, allocations: 0.9035 MB / 1.5 GB, free: 5.047 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.6361, allocations: 45.7 kB / 1.5 GB, free: 4.996 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005115/0.6367, allocations: 0.5324 MB / 1.5 GB, free: 4.457 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003588/0.637, allocations: 372.8 kB / 1.501 GB, free: 4.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.6373, allocations: 194.6 kB / 1.501 GB, free: 3.895 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.6375, allocations: 353.8 kB / 1.501 GB, free: 3.543 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/0.6383, allocations: 361.8 kB / 1.502 GB, free: 3.188 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009092/0.6392, allocations: 0.4932 MB / 1.502 GB, free: 2.656 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/0.6408, allocations: 0.8485 MB / 1.503 GB, free: 1.789 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6408, allocations: 0 / 1.503 GB, free: 1.789 MB / 1.201 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002783/0.6436, allocations: 1.13 MB / 1.504 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.6436, allocations: 4 kB / 1.504 GB, free: 0.6484 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6436, allocations: 4 kB / 1.504 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.6443, allocations: 80.81 kB / 1.504 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009891/0.6453, allocations: 223.7 kB / 1.504 GB, free: 352 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.6477, allocations: 1.554 MB / 1.506 GB, free: 14.66 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6488, allocations: 123.2 kB / 1.506 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6489, allocations: 43.97 kB / 1.506 GB, free: 14.5 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006738/0.6496, allocations: 325.6 kB / 1.506 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.6499, allocations: 123.2 kB / 1.506 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/0.6531, allocations: 1.498 MB / 1.508 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6532, allocations: 12 kB / 1.508 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6532, allocations: 0 / 1.508 GB, free: 12.52 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.6532, allocations: 15.91 kB / 1.508 GB, free: 12.5 MB / 1.217 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 postOpt removeSimpleEquations (simulation): time 0.005361/0.6585, allocations: 2.759 MB / 1.511 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.6585, allocations: 4.188 kB / 1.511 GB, free: 9.656 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.6595, allocations: 195.8 kB / 1.511 GB, free: 9.465 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004637/0.66, allocations: 76.72 kB / 1.511 GB, free: 9.387 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.274e-05/0.6601, allocations: 39.97 kB / 1.511 GB, free: 9.348 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.6622, allocations: 1.566 MB / 1.512 GB, free: 7.664 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.6622, allocations: 7.938 kB / 1.512 GB, free: 7.656 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/0.666, allocations: 1.871 MB / 1.514 GB, free: 5.746 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007362/0.6668, allocations: 274.8 kB / 1.514 GB, free: 5.477 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.667, allocations: 31.92 kB / 1.514 GB, free: 5.445 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009061/0.6679, allocations: 76.42 kB / 1.515 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.6681, allocations: 100.7 kB / 1.515 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/0.6682, allocations: 43.97 kB / 1.515 GB, free: 5.234 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001048/0.6692, allocations: 0.6501 MB / 1.515 GB, free: 4.574 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6692, allocations: 0 / 1.515 GB, free: 4.574 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001283/0.6705, allocations: 462.9 kB / 1.516 GB, free: 4.121 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006302/0.6768, allocations: 3.016 MB / 1.519 GB, free: 1.242 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002384/0.6792, allocations: 1.026 MB / 1.52 GB, free: 212 kB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6792, allocations: 0 / 1.52 GB, free: 212 kB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.6805, allocations: 0.6371 MB / 1.52 GB, free: 15.55 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.6828, allocations: 0.5271 MB / 1.521 GB, free: 15.05 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.6984, allocations: 8.88 MB / 1.53 GB, free: 5.977 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/0.6993, allocations: 1.167 MB / 1.531 GB, free: 4.777 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00124/0.7005, allocations: 373.8 kB / 1.531 GB, free: 4.41 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008119/0.7013, allocations: 0.5344 MB / 1.532 GB, free: 3.879 MB / 1.232 GB Notification: Performance of SimCode: time 8.51e-07/0.7013, allocations: 0 / 1.532 GB, free: 3.879 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.8075, allocations: 34.4 MB / 1.565 GB, free: 1.867 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.25, allocations: 7.188 kB / 1.565 GB, free: 1.863 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_11_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,senTem.T,senMasFra.X,senRelHum.phi Variables in the result:time,senMasFra.X,senRelHum.phi,senTem.T [Calling sys.exit(0), Time elapsed: 25.51203426400025]