Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.339/2.339, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 1.059 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 160.7 MB / 1.215 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002411/0.2555, allocations: 1.431 MB / 1.217 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.2563, allocations: 0.4954 MB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.2563, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.195e-05/0.2564, allocations: 7.938 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.2565, allocations: 15.84 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.2572, allocations: 235.3 kB / 1.218 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.2573, allocations: 143.8 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.2574, allocations: 4 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.731e-05/0.2575, allocations: 63.77 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.2575, allocations: 43.89 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2576, allocations: 8 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.2578, allocations: 171.8 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.371e-05/0.2579, allocations: 39.89 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.258, allocations: 55.73 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.2583, allocations: 239.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2583, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2583, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.2583, allocations: 0 / 1.218 GB, free: 12.98 MB / 0.9669 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.0005518/0.2588, allocations: 458.7 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2589, allocations: 8.031 kB / 1.219 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.738e-05/0.2589, allocations: 42.67 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.2589, allocations: 12.89 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.2592, allocations: 210.2 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.2592, allocations: 4.375 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.2592, allocations: 20.36 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.2593, allocations: 87.88 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2593, allocations: 3.938 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2594, allocations: 4 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2594, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.129e-05/0.2594, allocations: 35.98 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.2597, allocations: 226.5 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.2598, allocations: 77.19 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.334e-05/0.2598, allocations: 57.8 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.2599, allocations: 0 / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.26, allocations: 109 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.26, allocations: 0 / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003192/0.2603, allocations: 193.5 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.2604, allocations: 89.11 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.2605, allocations: 145.8 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2606, allocations: 41.64 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.2606, allocations: 100.5 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.2607, allocations: 35.73 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.2607, allocations: 53.64 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2609, allocations: 326.8 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.2609, allocations: 43.98 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.2611, allocations: 195.3 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.2613, allocations: 97.69 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2613, allocations: 4 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002282/0.2615, allocations: 173.3 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2615, allocations: 4 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.2615, allocations: 11.94 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2615, allocations: 0 / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.2616, allocations: 8 kB / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2616, allocations: 0 / 1.221 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.2619, allocations: 78.66 kB / 1.221 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2619, allocations: 4 kB / 1.221 GB, free: 9.75 MB / 0.9669 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.0001098/0.262, allocations: 137.7 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.262, allocations: 19.88 kB / 1.221 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.262, allocations: 12.72 kB / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2621, allocations: 0 / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2621, allocations: 0 / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2621, allocations: 96 / 1.221 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.2622, allocations: 205.5 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2622, allocations: 0 / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.2622, allocations: 4 kB / 1.222 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2622, allocations: 4 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2623, allocations: 0 / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2623, allocations: 7.938 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2623, allocations: 0 / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.2625, allocations: 181.8 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.2625, allocations: 93 kB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.2625, allocations: 0 / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.2626, allocations: 8 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.2626, allocations: 7.984 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2626, allocations: 4 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.521e-05/0.2627, allocations: 113.3 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2627, allocations: 0 / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002798/0.263, allocations: 79.81 kB / 1.222 GB, free: 8.793 MB / 0.9669 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.0006039/0.2636, allocations: 0.7809 MB / 1.223 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.2638, allocations: 159.2 kB / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2638, allocations: 0 / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.155e-05/0.2639, allocations: 35.98 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.264, allocations: 13.86 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.2657, allocations: 1.721 MB / 1.225 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2659, allocations: 0.7079 MB / 1.225 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.266, allocations: 8.656 kB / 1.225 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.266, allocations: 27.44 kB / 1.225 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.266, allocations: 3.938 kB / 1.225 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.2924, allocations: 3.984 MB / 1.229 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.173/7.465, allocations: 3.984 kB / 1.229 GB, free: 1.301 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchDay.occupied from file Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! Error: Could not read variable occSchWee.occupied in file Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchWee.occupied from file Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.585246338996512]