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.001792/0.001792, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002172/0.002172, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.178/3.178, allocations: 0.49 GB / 0.7951 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00199/0.00199, allocations: 67.08 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003057/0.341, allocations: 1.684 MB / 1.328 GB, free: 252 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3431, allocations: 1.391 MB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.006e-05/0.3432, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3434, allocations: 27.78 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.3438, allocations: 111.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.3441, allocations: 145.9 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.3445, allocations: 249.5 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.3446, allocations: 8 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3447, allocations: 87.75 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002361/0.3449, allocations: 95.77 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.345, allocations: 16 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.3452, allocations: 135.9 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3453, allocations: 83.75 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.3454, allocations: 103.4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.3458, allocations: 334.7 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3458, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3458, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3458, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 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.0008372/0.3467, allocations: 0.4975 MB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3467, allocations: 8.031 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/0.3468, allocations: 54.73 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.3469, allocations: 32.69 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.3472, allocations: 209.1 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3472, allocations: 12.38 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.3472, allocations: 20.36 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.3476, allocations: 221 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3476, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3476, allocations: 11.94 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.3476, allocations: 4 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008931/0.3485, allocations: 0.7295 MB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.3494, allocations: 0.5541 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004961/0.3499, allocations: 283.6 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.35, allocations: 89.38 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.3501, allocations: 28.23 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000366/0.3505, allocations: 176.9 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/0.3505, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008216/0.3513, allocations: 373.2 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.3514, allocations: 132.5 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.3517, allocations: 316.9 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.3518, allocations: 29.7 kB / 1.334 GB, free: 9.527 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.3519, allocations: 120.8 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.352, allocations: 123 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3521, allocations: 73.67 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3522, allocations: 338.8 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3524, allocations: 75.95 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.3526, allocations: 123.4 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003467/0.353, allocations: 221 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.353, allocations: 0 / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004759/0.3535, allocations: 277.2 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3535, allocations: 12 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3535, allocations: 3.938 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3535, allocations: 0 / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.3538, allocations: 63.91 kB / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3538, allocations: 0 / 1.335 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.3539, allocations: 31.81 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.354, allocations: 15.98 kB / 1.335 GB, free: 8.035 MB / 1.029 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.0001761/0.3541, allocations: 161.8 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.3542, allocations: 31.81 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007208/0.3549, allocations: 374.1 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.3549, allocations: 4 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3549, allocations: 0 / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3549, allocations: 7.922 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.3553, allocations: 312.3 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3553, allocations: 0 / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.3555, allocations: 51.92 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3555, allocations: 7.984 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3555, allocations: 8 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3555, allocations: 0 / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3555, allocations: 0 / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.356, allocations: 338.2 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3561, allocations: 67.69 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/0.3562, allocations: 8 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.3563, allocations: 17.81 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.3564, allocations: 27.89 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.3564, allocations: 8 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000251/0.3567, allocations: 244.4 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 4 kB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003352/0.357, allocations: 75.86 kB / 1.337 GB, free: 6.25 MB / 1.029 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.002338/0.3593, allocations: 1.21 MB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.3598, allocations: 223.8 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.3598, allocations: 4 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.36, allocations: 119.8 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3603, allocations: 39.67 kB / 1.339 GB, free: 4.801 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.3636, allocations: 2.505 MB / 1.341 GB, free: 2.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.364, allocations: 0.7574 MB / 1.342 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003697/0.3644, allocations: 150.9 kB / 1.342 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3645, allocations: 99.33 kB / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.3645, allocations: 0 / 1.342 GB, free: 1.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03633/0.4009, allocations: 6.265 MB / 1.348 GB, free: 10.96 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.08, allocations: 8.203 kB / 1.348 GB, free: 10.96 MB / 1.045 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.947170331999587]