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.001343/0.001343, 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.001807/0.001807, allocations: 211.6 kB / 22.25 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.785 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.422/3.422, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002102/0.002102, allocations: 67.66 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3796, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002745/0.3823, allocations: 1.421 MB / 1.326 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009947/0.3833, allocations: 454.4 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.3834, allocations: 0 / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.618e-05/0.3835, allocations: 7.938 kB / 1.327 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.497e-05/0.3835, allocations: 7.922 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.3844, allocations: 246.6 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.3846, allocations: 143.8 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.3847, allocations: 3.938 kB / 1.327 GB, free: 124 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.3848, allocations: 67.83 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.3848, allocations: 35.83 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.3849, allocations: 12 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.3853, allocations: 191.8 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.026e-05/0.3853, allocations: 27.92 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.3854, allocations: 51.77 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.3858, allocations: 239.5 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.3858, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3858, allocations: 0 / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3858, allocations: 0 / 1.328 GB, free: 15.5 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006619/0.3865, allocations: 371.8 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3865, allocations: 8.031 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.3866, allocations: 38.73 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.3866, allocations: 16.84 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.3868, allocations: 150.3 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3869, allocations: 8.375 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3869, allocations: 20.38 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3871, allocations: 79.95 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3871, allocations: 7.875 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3871, allocations: 7.969 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3871, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.3872, allocations: 39.92 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.3875, allocations: 181.7 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.3876, allocations: 65.25 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.3877, allocations: 61.73 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.3877, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.388, allocations: 113 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/0.388, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003718/0.3884, allocations: 193.5 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.3884, allocations: 81.11 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.3886, allocations: 151.5 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.3886, allocations: 33.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.3887, allocations: 108.4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.3887, allocations: 43.67 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.3888, allocations: 49.7 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.389, allocations: 322.8 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.508e-05/0.3891, allocations: 51.92 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.3895, allocations: 0.6057 MB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3897, allocations: 97.58 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3897, allocations: 3.938 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002373/0.3899, allocations: 157.5 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.3899, allocations: 11.94 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.3899, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.39, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.3901, allocations: 11.92 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3901, allocations: 4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.3903, allocations: 75.8 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3904, allocations: 4 kB / 1.331 GB, free: 11.99 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.0001447/0.3905, allocations: 135.1 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3905, allocations: 19.89 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.3906, allocations: 12.72 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3906, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3906, allocations: 0 / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3906, allocations: 3.984 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3908, allocations: 164.6 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3908, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.3908, allocations: 7.938 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.3908, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.3908, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3908, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3908, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3911, allocations: 189.9 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.3911, allocations: 23.83 kB / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3911, allocations: 0 / 1.331 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.3912, allocations: 4 kB / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.3912, allocations: 7.984 kB / 1.331 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3912, allocations: 7.938 kB / 1.331 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.3913, allocations: 113 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3913, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003369/0.3916, allocations: 75.81 kB / 1.332 GB, free: 11.15 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.0007165/0.3924, allocations: 0.776 MB / 1.332 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3926, allocations: 159.3 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3926, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.3927, allocations: 39.92 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.3929, allocations: 11.98 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3947, allocations: 1.717 MB / 1.334 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.736e-05/0.3948, allocations: 100.9 kB / 1.334 GB, free: 8.191 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.434e-05/0.3949, allocations: 12.66 kB / 1.334 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.3949, allocations: 31.38 kB / 1.334 GB, free: 8.148 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3949, allocations: 0 / 1.334 GB, free: 8.148 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/0.4293, allocations: 4.699 MB / 1.339 GB, free: 3.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.82, allocations: 5.188 kB / 1.339 GB, free: 3.617 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.142554280813783]