Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001788/0.001788, allocations: 104 kB / 16.45 MB, free: 6.449 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.002254/0.002254, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.575/1.575, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.625/3.625, allocations: 0.49 GB / 0.7916 GB, free: 33.17 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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule",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.002116/0.002116, allocations: 74.62 kB / 1.149 GB, free: 26.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4384, allocations: 176.1 MB / 1.321 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003061/0.4415, allocations: 1.437 MB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4425, allocations: 494.7 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.4426, allocations: 4 kB / 1.323 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.25e-05/0.4427, allocations: 3.938 kB / 1.323 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.4427, allocations: 19.8 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008641/0.4436, allocations: 230.3 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.4438, allocations: 147.7 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.4439, allocations: 4 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.907e-05/0.444, allocations: 59.89 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4441, allocations: 47.83 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.4441, allocations: 8 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.4444, allocations: 171.8 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.4445, allocations: 35.91 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.4446, allocations: 51.72 kB / 1.323 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.445, allocations: 239.5 kB / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.445, allocations: 0 / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.445, allocations: 0 / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.445, allocations: 0 / 1.324 GB, free: 0.5234 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007298/0.4457, allocations: 454.7 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4458, allocations: 11.98 kB / 1.324 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.927e-05/0.4459, allocations: 38.73 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.4459, allocations: 12.84 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.4462, allocations: 212.2 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.4462, allocations: 8.375 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.4462, allocations: 8.375 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4464, allocations: 91.81 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4464, allocations: 7.938 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4465, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4465, allocations: 0 / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.4465, allocations: 39.97 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.4469, allocations: 230.5 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.447, allocations: 73.19 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.4471, allocations: 53.81 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.4471, allocations: 3.984 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.4473, allocations: 113 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.4473, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0004038/0.4477, allocations: 189.5 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.4478, allocations: 89.11 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.448, allocations: 151 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.448, allocations: 33.7 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.4481, allocations: 104.5 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.4482, allocations: 35.69 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.4483, allocations: 53.64 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4484, allocations: 326.8 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.4485, allocations: 39.98 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.4488, allocations: 203.3 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.449, allocations: 101.6 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.449, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002752/0.4492, allocations: 173.3 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4493, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/0.4493, allocations: 4 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4493, allocations: 0 / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.4494, allocations: 8 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4494, allocations: 4 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.4497, allocations: 75.84 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.4497, allocations: 4 kB / 1.326 GB, free: 13.29 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001516/0.4499, allocations: 133.7 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.4499, allocations: 19.89 kB / 1.327 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.4499, allocations: 12.7 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4499, allocations: 4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4499, allocations: 4 kB / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4499, allocations: 0 / 1.327 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.4501, allocations: 197.5 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.4501, allocations: 4 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.4502, allocations: 4 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4502, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4502, allocations: 4 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4502, allocations: 0 / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4502, allocations: 4 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.4505, allocations: 195 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.4506, allocations: 93.09 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.4506, allocations: 0 / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.4506, allocations: 11.98 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.4507, allocations: 3.984 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4507, allocations: 8 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001057/0.4508, allocations: 117 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.4508, allocations: 0 / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00038/0.4512, allocations: 71.81 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0008444/0.452, allocations: 0.777 MB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.4523, allocations: 155.3 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4523, allocations: 0 / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.25e-05/0.4524, allocations: 35.98 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.4526, allocations: 9.891 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4548, allocations: 1.729 MB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.4552, allocations: 0.7119 MB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.4552, allocations: 8.656 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.4553, allocations: 23.44 kB / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/0.4553, allocations: 0 / 1.331 GB, free: 8.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.4868, allocations: 3.995 MB / 1.335 GB, free: 4.84 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/8.968, allocations: 4.688 kB / 1.335 GB, free: 4.836 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 Buildings_12_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable occSchDay.occupied in file Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchDay.occupied from file Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! Error: Could not read variable occSchWee.occupied in file Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchWee.occupied from file Buildings_12_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.71592524391599]