Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001769/0.001769, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002164/0.002164, allocations: 212 kB / 22.24 MB, free: 5.242 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.054/3.054, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_11_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.002157/0.002157, allocations: 69.89 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4926, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003282/0.4959, allocations: 1.428 MB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.4969, allocations: 474.4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.497, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.106e-05/0.4971, allocations: 7.922 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.4971, allocations: 7.938 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.498, allocations: 241.4 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.4982, allocations: 147.8 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.593e-05/0.4983, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.4984, allocations: 71.77 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.124e-05/0.4985, allocations: 27.91 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.4985, allocations: 12 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.4988, allocations: 187.8 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.844e-05/0.4989, allocations: 41.69 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.736e-05/0.499, allocations: 43.8 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.4994, allocations: 237 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4994, allocations: 4 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.597e-06/0.4994, allocations: 4 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.4994, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 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.0007208/0.5001, allocations: 373.5 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5002, allocations: 8.031 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5002, allocations: 38.75 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.5003, allocations: 16.84 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.5006, allocations: 150.3 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.5006, allocations: 8.375 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.5006, allocations: 8.375 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.5008, allocations: 91.88 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5008, allocations: 3.938 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5008, allocations: 4 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.5008, allocations: 0 / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.5009, allocations: 35.92 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.5012, allocations: 185.7 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.5013, allocations: 69.23 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.5014, allocations: 57.73 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.5015, allocations: 4 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.5017, allocations: 121 kB / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.5017, allocations: 0 / 1.286 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.0003822/0.5021, allocations: 185.9 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.5022, allocations: 85.09 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.5023, allocations: 147.5 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.5024, allocations: 37.69 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.781e-05/0.5025, allocations: 96.52 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.5025, allocations: 47.67 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.5026, allocations: 49.64 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5028, allocations: 322.8 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.588e-05/0.5029, allocations: 51.97 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.5034, allocations: 0.602 MB / 1.288 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5036, allocations: 93.64 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5036, allocations: 0 / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002515/0.5038, allocations: 165.4 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5039, allocations: 7.984 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.5039, allocations: 4 kB / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.5039, allocations: 0 / 1.288 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.504, allocations: 11.94 kB / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.504, allocations: 0 / 1.288 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.5043, allocations: 71.91 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.5043, allocations: 8 kB / 1.288 GB, free: 6.027 MB / 0.9825 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.0001586/0.5045, allocations: 133.8 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.5045, allocations: 19.84 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.5045, allocations: 16.7 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5045, allocations: 4 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5045, allocations: 3.938 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5045, allocations: 0 / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.5047, allocations: 160.7 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5047, allocations: 4 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.5048, allocations: 7.938 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5048, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.5048, allocations: 7.984 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5048, allocations: 7.938 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5048, allocations: 4 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.5051, allocations: 181.8 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.5051, allocations: 15.95 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.5051, allocations: 0 / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.075e-05/0.5052, allocations: 4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.5052, allocations: 3.984 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5052, allocations: 8 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001002/0.5053, allocations: 117.8 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.5053, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003488/0.5057, allocations: 79.8 kB / 1.289 GB, free: 5.188 MB / 0.9825 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.0008816/0.5065, allocations: 0.7855 MB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.5069, allocations: 159.3 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5069, allocations: 0 / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.507, allocations: 40.11 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.5072, allocations: 8 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.5095, allocations: 1.715 MB / 1.292 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.5096, allocations: 96.97 kB / 1.292 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.058e-05/0.5097, allocations: 8.656 kB / 1.292 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.5097, allocations: 35.42 kB / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.5097, allocations: 0 / 1.292 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.5483, allocations: 4.692 MB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.9, allocations: 5.531 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchDay.occupied from file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! Error: Could not read variable occSchWee.occupied in file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchWee.occupied from file Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.3966248719953]