Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.059/2.059, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.482, allocations: 140.4 MB / 0.9497 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002416/0.4844, allocations: 1.636 MB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.4857, allocations: 1.164 MB / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.4857, allocations: 1.25 kB / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.4859, allocations: 19.39 kB / 0.9525 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.4862, allocations: 73.94 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.4865, allocations: 134.2 kB / 0.9527 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.4867, allocations: 231.7 kB / 0.9529 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.4868, allocations: 17.75 kB / 0.9529 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.4869, allocations: 83.39 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.487, allocations: 89.33 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.4871, allocations: 17.25 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.4872, allocations: 84.89 kB / 0.9532 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.4873, allocations: 81.41 kB / 0.9532 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.4874, allocations: 103.7 kB / 0.9533 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.4876, allocations: 280.5 kB / 0.9536 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4877, allocations: 0 / 0.9536 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4877, allocations: 0 / 0.9536 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4877, allocations: 0 / 0.9536 GB, free: 6.152 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005944/0.4883, allocations: 0.5364 MB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4883, allocations: 10.5 kB / 0.9541 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.235e-05/0.4884, allocations: 52.73 kB / 0.9542 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.4884, allocations: 24.91 kB / 0.9542 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4886, allocations: 272.1 kB / 0.9545 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4886, allocations: 15.22 kB / 0.9545 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.4887, allocations: 18.59 kB / 0.9545 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.489, allocations: 221.2 kB / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.489, allocations: 0 / 0.9547 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.489, allocations: 5.125 kB / 0.9547 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.489, allocations: 4.812 kB / 0.9547 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006726/0.4897, allocations: 0.7418 MB / 0.9555 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.4903, allocations: 0.5618 MB / 0.956 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.4907, allocations: 300 kB / 0.9563 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.4908, allocations: 102.3 kB / 0.9564 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.4909, allocations: 25.3 kB / 0.9564 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.4911, allocations: 172.4 kB / 0.9566 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.4911, allocations: 0 / 0.9566 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.000564/0.4917, allocations: 367.4 kB / 0.9569 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.4918, allocations: 141 kB / 0.9571 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.492, allocations: 300 kB / 0.9573 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.492, allocations: 31.08 kB / 0.9574 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.4921, allocations: 130.2 kB / 0.9575 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.4921, allocations: 112.1 kB / 0.9576 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.308e-05/0.4922, allocations: 65.19 kB / 0.9577 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.4923, allocations: 335.1 kB / 0.958 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.4924, allocations: 84.39 kB / 0.9581 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.4925, allocations: 127 kB / 0.9582 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4928, allocations: 208.9 kB / 0.9584 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4928, allocations: 0 / 0.9584 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003864/0.4932, allocations: 275.8 kB / 0.9587 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4932, allocations: 4.5 kB / 0.9587 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4932, allocations: 9.203 kB / 0.9587 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.4933, allocations: 1.312 kB / 0.9587 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.4935, allocations: 62.97 kB / 0.9587 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4935, allocations: 1.906 kB / 0.9587 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.4936, allocations: 35.89 kB / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.4937, allocations: 17.03 kB / 0.9588 GB, free: 2.383 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001067/0.4938, allocations: 153.4 kB / 0.9589 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.4938, allocations: 23.91 kB / 0.959 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.4944, allocations: 383.9 kB / 0.9593 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.4944, allocations: 11.83 kB / 0.9593 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4944, allocations: 1.062 kB / 0.9593 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4944, allocations: 7.875 kB / 0.9593 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.4947, allocations: 327.2 kB / 0.9596 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4947, allocations: 5.109 kB / 0.9597 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.4948, allocations: 52.36 kB / 0.9597 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4948, allocations: 2.094 kB / 0.9597 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4949, allocations: 16.11 kB / 0.9597 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4949, allocations: 5.875 kB / 0.9597 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4949, allocations: 0 / 0.9597 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.4953, allocations: 324.9 kB / 0.96 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.4954, allocations: 146.6 kB / 0.9602 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.4954, allocations: 5.594 kB / 0.9602 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.4955, allocations: 14.56 kB / 0.9602 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.4956, allocations: 36.58 kB / 0.9602 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.4956, allocations: 12.84 kB / 0.9602 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001495/0.4958, allocations: 236.8 kB / 0.9605 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4958, allocations: 0 / 0.9605 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002732/0.4961, allocations: 55.94 kB / 0.9605 GB, free: 1.145 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001213/0.4973, allocations: 1.15 MB / 0.9616 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.4977, allocations: 309.3 kB / 0.9619 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4977, allocations: 1.094 kB / 0.9619 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.4979, allocations: 126.5 kB / 0.9621 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.4981, allocations: 36.31 kB / 0.9621 GB, free: 148 kB / 0.7169 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.5007, allocations: 2.452 MB / 0.9645 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.5009, allocations: 0.7584 MB / 0.9652 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.5012, allocations: 147.9 kB / 0.9654 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5014, allocations: 92.92 kB / 0.9655 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.5014, allocations: 0 / 0.9655 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3982/0.8996, allocations: 5.414 MB / 0.9707 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.656/7.556, allocations: 14.42 kB / 0.9708 GB, free: 10.78 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=432000.000000 File[6]=864.000000 " Variables in the reference:time,limCeiHei.u,limCeiHei.ceiHei Variables in the result:time,conTim.calTimAux,conTim.modTimAux,limCeiHei.ceiHei,limCeiHei.u,conTim.weaDatEndTim