Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001656/0.001656, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002535/0.002535, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.453/3.453, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.OccupancySchedule,fileNamePrefix="Buildings_latest_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.00276/0.00276, allocations: 67.84 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4139, allocations: 181.9 MB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003087/0.417, allocations: 1.431 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.418, allocations: 454.5 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.858e-05/0.4181, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.211e-05/0.4182, allocations: 11.92 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/0.4182, allocations: 7.875 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.4191, allocations: 245.8 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000253/0.4193, allocations: 143.8 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.4194, allocations: 7.984 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.4194, allocations: 59.83 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.367e-05/0.4195, allocations: 35.91 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.4196, allocations: 8 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.4199, allocations: 191.7 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.42, allocations: 35.91 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.829e-05/0.4201, allocations: 51.78 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.4204, allocations: 239.5 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.4204, allocations: 0 / 1.366 GB, free: 11.27 MB / 1.061 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.0006743/0.4211, allocations: 381.5 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4212, allocations: 8.031 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.4212, allocations: 38.69 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.4213, allocations: 12.89 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.4215, allocations: 146.4 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4215, allocations: 8.375 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.4216, allocations: 20.31 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4217, allocations: 83.94 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4217, allocations: 3.938 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4218, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4218, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.237e-05/0.4219, allocations: 35.98 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.4221, allocations: 185.6 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.4223, allocations: 73.2 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.4223, allocations: 53.84 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.4224, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.4226, allocations: 109 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.4226, allocations: 0 / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.0004165/0.423, allocations: 193.4 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.4231, allocations: 85.11 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4233, allocations: 151.7 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.4233, allocations: 37.7 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.968e-05/0.4234, allocations: 108.4 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.4235, allocations: 35.72 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.4235, allocations: 49.7 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4237, allocations: 330.8 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.4238, allocations: 39.98 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.4243, allocations: 0.6041 MB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.4245, allocations: 93.64 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4245, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002625/0.4247, allocations: 165.4 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4248, allocations: 8 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.4248, allocations: 3.984 kB / 1.369 GB, free: 7.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4248, allocations: 4 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.09e-05/0.4249, allocations: 4 kB / 1.369 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.4249, allocations: 4 kB / 1.369 GB, free: 7.848 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002828/0.4252, allocations: 79.8 kB / 1.369 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4252, allocations: 7.938 kB / 1.369 GB, free: 7.762 MB / 1.061 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.000159/0.4254, allocations: 137.8 kB / 1.369 GB, free: 7.617 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.4254, allocations: 15.84 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.4254, allocations: 16.72 kB / 1.369 GB, free: 7.578 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4254, allocations: 3.984 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4254, allocations: 0 / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4254, allocations: 0 / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.4256, allocations: 164.6 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4256, allocations: 0 / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.225e-05/0.4257, allocations: 7.938 kB / 1.37 GB, free: 7.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4257, allocations: 4 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.4257, allocations: 4 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.4257, allocations: 0 / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.4257, allocations: 11.92 kB / 1.37 GB, free: 7.344 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.426, allocations: 180 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.426, allocations: 7.953 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.426, allocations: 0 / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.898e-05/0.426, allocations: 8 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.4261, allocations: 7.984 kB / 1.37 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.4261, allocations: 4 kB / 1.37 GB, free: 7.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.979e-05/0.4262, allocations: 113.8 kB / 1.37 GB, free: 7.012 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4262, allocations: 4 kB / 1.37 GB, free: 7.008 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003121/0.4265, allocations: 79.8 kB / 1.37 GB, free: 6.93 MB / 1.061 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.0007747/0.4273, allocations: 0.7828 MB / 1.371 GB, free: 6.117 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.4275, allocations: 163.3 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4275, allocations: 0 / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.4276, allocations: 35.92 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.4278, allocations: 8 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.4297, allocations: 1.7 MB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.588e-05/0.4298, allocations: 97.7 kB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.455e-05/0.4298, allocations: 12.92 kB / 1.373 GB, free: 3.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.4298, allocations: 27.44 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4298, allocations: 0 / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4675, allocations: 4.717 MB / 1.377 GB, free: 15.42 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.01, allocations: 0.9375 kB / 1.377 GB, free: 15.42 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv --start-time -86400 --stop-time 1.2096e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 518.4 Buildings_latest_Buildings_Controls_SetPoints_Examples_OccupancySchedule.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchDay.occupied from file Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! Error: Could not read variable occSchWee.occupied in file Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv. Warning: Get data of variable occSchWee.occupied from file Buildings_latest_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.54901743773371]