Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001236/0.001236, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001427/0.001427, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.359/1.359, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.034/3.034, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_latest_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.002021/0.002021, allocations: 67.64 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3041, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1899/0.494, allocations: 155.8 MB / 1.516 GB, free: 1.641 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.5097, allocations: 10.32 MB / 1.526 GB, free: 7.293 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.5109, allocations: 43.62 kB / 1.526 GB, free: 7.25 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.512, allocations: 424.7 kB / 1.526 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.5149, allocations: 1.129 MB / 1.527 GB, free: 5.703 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.5188, allocations: 1.756 MB / 1.529 GB, free: 3.953 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.5214, allocations: 2.404 MB / 1.531 GB, free: 1.543 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001626/0.5231, allocations: 1.097 MB / 1.532 GB, free: 416 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.5265, allocations: 1.473 MB / 1.534 GB, free: 14.94 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009708/0.5275, allocations: 0.7505 MB / 1.534 GB, free: 14.18 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.5277, allocations: 160 kB / 1.535 GB, free: 14.03 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.53, allocations: 1.267 MB / 1.536 GB, free: 12.76 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.5304, allocations: 462.6 kB / 1.536 GB, free: 12.3 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.5311, allocations: 0.6493 MB / 1.537 GB, free: 11.65 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.5344, allocations: 2.631 MB / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5344, allocations: 0 / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5344, allocations: 0 / 1.54 GB, free: 9.012 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.5344, allocations: 0 / 1.54 GB, free: 9.012 MB / 1.232 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.003181/0.5376, allocations: 1.889 MB / 1.541 GB, free: 7.078 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5376, allocations: 12.03 kB / 1.541 GB, free: 7.066 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.5378, allocations: 173.4 kB / 1.542 GB, free: 6.887 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.5403, allocations: 402.6 kB / 1.542 GB, free: 6.492 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.5419, allocations: 0.9357 MB / 1.543 GB, free: 5.523 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/0.542, allocations: 90.33 kB / 1.543 GB, free: 5.434 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.5422, allocations: 119.9 kB / 1.543 GB, free: 5.316 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.5445, allocations: 1.683 MB / 1.545 GB, free: 3.477 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.5446, allocations: 0 / 1.545 GB, free: 3.477 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.5447, allocations: 48 kB / 1.545 GB, free: 3.43 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.5447, allocations: 31.94 kB / 1.545 GB, free: 3.398 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.5471, allocations: 1.406 MB / 1.546 GB, free: 1.984 MB / 1.232 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.005592/0.5527, allocations: 3.146 MB / 1.549 GB, free: 14.76 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.5548, allocations: 1.074 MB / 1.55 GB, free: 13.68 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007478/0.5555, allocations: 411.6 kB / 1.551 GB, free: 13.28 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.5561, allocations: 113.1 kB / 1.551 GB, free: 13.17 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.5573, allocations: 0.8942 MB / 1.552 GB, free: 12.2 MB / 1.248 GB Notification: Performance of pre-optimization done (n=106): time 2.655e-06/0.5573, allocations: 0 / 1.552 GB, free: 12.2 MB / 1.248 GB Notification: Performance of matching and sorting (n=106): time 0.003842/0.5612, allocations: 1.535 MB / 1.553 GB, free: 10.66 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.5613, allocations: 200.9 kB / 1.553 GB, free: 10.42 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5625, allocations: 0.8996 MB / 1.554 GB, free: 9.5 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.709e-05/0.5626, allocations: 49.7 kB / 1.554 GB, free: 9.445 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/0.5631, allocations: 0.5362 MB / 1.555 GB, free: 8.906 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/0.5634, allocations: 376.8 kB / 1.555 GB, free: 8.535 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.5637, allocations: 190.6 kB / 1.555 GB, free: 8.344 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5639, allocations: 345.9 kB / 1.556 GB, free: 8 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.5646, allocations: 361.8 kB / 1.556 GB, free: 7.648 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009817/0.5656, allocations: 0.6805 MB / 1.557 GB, free: 6.883 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/0.5671, allocations: 0.8407 MB / 1.557 GB, free: 6.027 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5671, allocations: 0 / 1.557 GB, free: 6.027 MB / 1.248 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00247/0.5696, allocations: 1.126 MB / 1.559 GB, free: 4.891 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5696, allocations: 8 kB / 1.559 GB, free: 4.883 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5696, allocations: 0 / 1.559 GB, free: 4.883 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005573/0.5702, allocations: 84.84 kB / 1.559 GB, free: 4.797 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009249/0.5711, allocations: 219.7 kB / 1.559 GB, free: 4.582 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.5733, allocations: 1.539 MB / 1.56 GB, free: 2.926 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.5741, allocations: 123.2 kB / 1.56 GB, free: 2.805 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.421e-05/0.5742, allocations: 48.05 kB / 1.561 GB, free: 2.758 MB / 1.248 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.0005298/0.5747, allocations: 321.5 kB / 1.561 GB, free: 2.434 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.575, allocations: 127.2 kB / 1.561 GB, free: 2.309 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.5779, allocations: 1.505 MB / 1.562 GB, free: 0.7812 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.5779, allocations: 12 kB / 1.562 GB, free: 0.7695 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5779, allocations: 4 kB / 1.562 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.578, allocations: 7.922 kB / 1.562 GB, free: 0.7578 MB / 1.248 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.00469/0.5826, allocations: 2.51 MB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.5827, allocations: 7.984 kB / 1.565 GB, free: 14.17 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008783/0.5835, allocations: 203.9 kB / 1.565 GB, free: 13.97 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004173/0.584, allocations: 72.8 kB / 1.565 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.584, allocations: 39.95 kB / 1.565 GB, free: 13.86 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.586, allocations: 1.574 MB / 1.567 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.586, allocations: 4 kB / 1.567 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/0.5895, allocations: 1.874 MB / 1.569 GB, free: 10.25 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005935/0.5901, allocations: 274.8 kB / 1.569 GB, free: 9.98 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.5903, allocations: 31.94 kB / 1.569 GB, free: 9.949 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008227/0.5911, allocations: 74.19 kB / 1.569 GB, free: 9.879 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.5913, allocations: 92.77 kB / 1.569 GB, free: 9.789 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.5914, allocations: 47.97 kB / 1.569 GB, free: 9.742 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008614/0.5922, allocations: 0.6501 MB / 1.57 GB, free: 9.082 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.5922, allocations: 3.938 kB / 1.57 GB, free: 9.078 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001082/0.5933, allocations: 454.9 kB / 1.57 GB, free: 8.633 MB / 1.264 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.005961/0.5993, allocations: 3.044 MB / 1.573 GB, free: 5.746 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002184/0.6015, allocations: 1.023 MB / 1.574 GB, free: 4.711 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.6015, allocations: 4 kB / 1.574 GB, free: 4.707 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6026, allocations: 0.6294 MB / 1.575 GB, free: 4.062 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.6048, allocations: 0.5323 MB / 1.575 GB, free: 3.555 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.6195, allocations: 8.888 MB / 1.584 GB, free: 10.47 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.6202, allocations: 0.5754 MB / 1.585 GB, free: 9.859 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001288/0.6215, allocations: 369.8 kB / 1.585 GB, free: 9.496 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/0.6222, allocations: 0.5383 MB / 1.585 GB, free: 8.957 MB / 1.279 GB Notification: Performance of SimCode: time 1.372e-06/0.6222, allocations: 0 / 1.585 GB, free: 8.957 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6858/1.308, allocations: 36.19 MB / 1.621 GB, free: 242.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.71, allocations: 10 kB / 1.621 GB, free: 242.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.801430734805763]