Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.0008869/0.0008869, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008648/0.0008648, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8946/0.8946, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.139e-05, allocations: 4.953 kB / 0.981 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002161/0.002182, allocations: 1.658 MB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.003759, allocations: 1.367 MB / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.003833, allocations: 0 / 0.9839 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.004062, allocations: 31.72 kB / 0.984 GB, free: 15.47 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.004439, allocations: 119.3 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.004735, allocations: 145.4 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.004977, allocations: 257.4 kB / 0.9845 GB, free: 14.97 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.005073, allocations: 12 kB / 0.9845 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.005191, allocations: 115.8 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.005333, allocations: 75.83 kB / 0.9846 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.005362, allocations: 20 kB / 0.9847 GB, free: 14.75 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.005533, allocations: 127.7 kB / 0.9848 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.005613, allocations: 87.8 kB / 0.9849 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.00568, allocations: 75.75 kB / 0.9849 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.00604, allocations: 350.8 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006042, allocations: 0 / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.92e-07/0.006043, allocations: 3.938 kB / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.006047, allocations: 0 / 0.9853 GB, free: 14.12 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006037/0.006651, allocations: 0.494 MB / 0.9858 GB, free: 13.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.00669, allocations: 8.031 kB / 0.9858 GB, free: 13.58 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.006733, allocations: 50.73 kB / 0.9858 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.00679, allocations: 24.8 kB / 0.9858 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.007006, allocations: 220.8 kB / 0.9861 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.007021, allocations: 16.7 kB / 0.9861 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.00704, allocations: 16.38 kB / 0.9861 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.00732, allocations: 297.5 kB / 0.9864 GB, free: 12.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.007331, allocations: 8.125 kB / 0.9864 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.007349, allocations: 11.92 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.007355, allocations: 4 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.007867, allocations: 0.6907 MB / 0.9871 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006605/0.008527, allocations: 0.5232 MB / 0.9876 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.008884, allocations: 292.8 kB / 0.9879 GB, free: 11.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.008987, allocations: 97.94 kB / 0.988 GB, free: 11.22 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.009021, allocations: 12.27 kB / 0.988 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.009299, allocations: 176 kB / 0.9881 GB, free: 11.03 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/0.009301, allocations: 0 / 0.9881 GB, free: 11.03 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.0004794/0.00978, allocations: 383.3 kB / 0.9885 GB, free: 10.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.009844, allocations: 136.5 kB / 0.9886 GB, free: 10.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.01005, allocations: 313.7 kB / 0.9889 GB, free: 10.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.01008, allocations: 33.7 kB / 0.989 GB, free: 10.14 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.6e-05/0.01014, allocations: 132.7 kB / 0.9891 GB, free: 10 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.01021, allocations: 115 kB / 0.9892 GB, free: 9.891 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.01027, allocations: 69.69 kB / 0.9893 GB, free: 9.816 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.01036, allocations: 342.8 kB / 0.9896 GB, free: 9.473 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.01046, allocations: 87.7 kB / 0.9897 GB, free: 9.387 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.01062, allocations: 210 kB / 0.9899 GB, free: 9.152 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/0.01085, allocations: 213.1 kB / 0.9901 GB, free: 8.941 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01085, allocations: 0 / 0.9901 GB, free: 8.941 MB / 0.948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005746/0.01143, allocations: 296.8 kB / 0.9904 GB, free: 8.645 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.01144, allocations: 10.97 kB / 0.9904 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01145, allocations: 0 / 0.9904 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01146, allocations: 0 / 0.9904 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.0116, allocations: 59.91 kB / 0.9904 GB, free: 8.578 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.01161, allocations: 4 kB / 0.9904 GB, free: 8.574 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.01169, allocations: 31.88 kB / 0.9905 GB, free: 8.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.0117, allocations: 8 kB / 0.9905 GB, free: 8.535 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (37): * Single equations (assignments): 37 * 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.0001155/0.01182, allocations: 173.7 kB / 0.9906 GB, free: 8.355 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.01185, allocations: 27.81 kB / 0.9907 GB, free: 8.328 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.01227, allocations: 392.7 kB / 0.991 GB, free: 7.941 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01228, allocations: 4 kB / 0.991 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01228, allocations: 0 / 0.991 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.01229, allocations: 3.984 kB / 0.991 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.01248, allocations: 276.4 kB / 0.9913 GB, free: 7.621 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01248, allocations: 7.938 kB / 0.9913 GB, free: 7.613 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.01258, allocations: 63.91 kB / 0.9914 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.01259, allocations: 0 / 0.9914 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.0126, allocations: 11.98 kB / 0.9914 GB, free: 7.539 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.0126, allocations: 4 kB / 0.9914 GB, free: 7.535 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01261, allocations: 0 / 0.9914 GB, free: 7.535 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.01291, allocations: 334.5 kB / 0.9917 GB, free: 7.188 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.01298, allocations: 67.73 kB / 0.9918 GB, free: 7.121 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.01301, allocations: 8 kB / 0.9918 GB, free: 7.113 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.01307, allocations: 11.98 kB / 0.9918 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.01312, allocations: 27.95 kB / 0.9918 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.01313, allocations: 12 kB / 0.9918 GB, free: 7.062 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001367/0.01327, allocations: 245.2 kB / 0.9921 GB, free: 6.824 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01327, allocations: 0 / 0.9921 GB, free: 6.824 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002284/0.0135, allocations: 75.86 kB / 0.9921 GB, free: 6.75 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001219/0.01471, allocations: 1.253 MB / 0.9934 GB, free: 5.652 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.01501, allocations: 227.9 kB / 0.9936 GB, free: 5.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01501, allocations: 0 / 0.9936 GB, free: 5.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.01513, allocations: 115.9 kB / 0.9937 GB, free: 5.316 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.01532, allocations: 32.48 kB / 0.9937 GB, free: 5.281 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.01735, allocations: 2.563 MB / 0.9962 GB, free: 2.633 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.01744, allocations: 146.7 kB / 0.9964 GB, free: 2.473 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.01763, allocations: 142.9 kB / 0.9965 GB, free: 2.332 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.01773, allocations: 104.5 kB / 0.9966 GB, free: 2.23 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/0.01774, allocations: 0 / 0.9966 GB, free: 2.23 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.03936, allocations: 6.789 MB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.964/7.004, allocations: 5.438 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv --start-time 0 --stop-time 432000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 172.8 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.244450566358864]