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.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.001881/0.001881, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.002105/0.002105, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.541/1.541, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.113/3.113, allocations: 469.8 MB / 0.7491 GB, free: 3.031 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.89 kB / 1.073 GB, free: 168 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431/1.433, allocations: 159.1 MB / 1.229 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.003466/1.436, allocations: 1.417 MB / 1.23 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001256/1.438, allocations: 0.4982 MB / 1.23 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/1.438, allocations: 0 / 1.23 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/1.438, allocations: 11.92 kB / 1.23 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/1.438, allocations: 3.938 kB / 1.23 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/1.439, allocations: 234.2 kB / 1.231 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/1.439, allocations: 147.8 kB / 1.231 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.676e-05/1.439, allocations: 15.94 kB / 1.231 GB, free: 2.492 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/1.439, allocations: 55.84 kB / 1.231 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/1.44, allocations: 43.83 kB / 1.231 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/1.44, allocations: 8 kB / 1.231 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003192/1.44, allocations: 167.8 kB / 1.231 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/1.44, allocations: 39.91 kB / 1.231 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/1.44, allocations: 55.78 kB / 1.231 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/1.441, allocations: 229.1 kB / 1.231 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/1.441, allocations: 4 kB / 1.231 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.579e-06/1.441, allocations: 0 / 1.231 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.287e-05/1.441, allocations: 0 / 1.231 GB, free: 1.902 MB / 0.9356 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.0009093/1.442, allocations: 454.6 kB / 1.232 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/1.442, allocations: 12.03 kB / 1.232 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.192e-05/1.442, allocations: 34.73 kB / 1.232 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/1.442, allocations: 16.89 kB / 1.232 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/1.442, allocations: 210.5 kB / 1.232 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/1.442, allocations: 8.375 kB / 1.232 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/1.442, allocations: 12.38 kB / 1.232 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/1.442, allocations: 75.95 kB / 1.232 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/1.442, allocations: 7.938 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/1.442, allocations: 3.984 kB / 1.232 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.442, allocations: 3.984 kB / 1.232 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/1.443, allocations: 39.92 kB / 1.232 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/1.443, allocations: 234.5 kB / 1.233 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/1.443, allocations: 77.25 kB / 1.233 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/1.443, allocations: 57.75 kB / 1.233 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/1.443, allocations: 0 / 1.233 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/1.444, allocations: 117 kB / 1.233 GB, free: 372 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/1.444, allocations: 4 kB / 1.233 GB, free: 368 kB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0004534/1.444, allocations: 185.5 kB / 1.233 GB, free: 176 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.444, allocations: 81.11 kB / 1.233 GB, free: 76 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/1.444, allocations: 153.8 kB / 1.233 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/1.444, allocations: 37.64 kB / 1.233 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/1.445, allocations: 104.5 kB / 1.233 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/1.445, allocations: 39.73 kB / 1.233 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/1.445, allocations: 49.69 kB / 1.233 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002251/1.445, allocations: 322.8 kB / 1.234 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/1.445, allocations: 43.98 kB / 1.234 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/1.445, allocations: 199.3 kB / 1.234 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/1.445, allocations: 93.64 kB / 1.234 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.445, allocations: 0 / 1.234 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002727/1.446, allocations: 169.4 kB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.446, allocations: 4 kB / 1.234 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.119e-05/1.446, allocations: 8 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/1.446, allocations: 0 / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/1.446, allocations: 11.94 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/1.446, allocations: 0 / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/1.446, allocations: 79.8 kB / 1.234 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/1.446, allocations: 7.984 kB / 1.234 GB, free: 14.67 MB / 0.9512 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.0001491/1.446, allocations: 129.8 kB / 1.234 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/1.446, allocations: 11.89 kB / 1.234 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/1.447, allocations: 24.64 kB / 1.234 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.447, allocations: 4 kB / 1.234 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.447, allocations: 4 kB / 1.234 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.447, allocations: 4 kB / 1.234 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/1.447, allocations: 201.4 kB / 1.235 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.447, allocations: 0 / 1.235 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/1.447, allocations: 11.94 kB / 1.235 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.447, allocations: 0 / 1.235 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.447, allocations: 0 / 1.235 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.447, allocations: 4 kB / 1.235 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.447, allocations: 0 / 1.235 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/1.447, allocations: 181.8 kB / 1.235 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/1.447, allocations: 93.08 kB / 1.235 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/1.447, allocations: 8 kB / 1.235 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/1.447, allocations: 0 / 1.235 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/1.447, allocations: 7.984 kB / 1.235 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/1.447, allocations: 4 kB / 1.235 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001005/1.447, allocations: 121.1 kB / 1.235 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.447, allocations: 0 / 1.235 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003358/1.448, allocations: 67.88 kB / 1.235 GB, free: 13.7 MB / 0.9512 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.0007878/1.449, allocations: 0.7925 MB / 1.236 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003166/1.449, allocations: 168 kB / 1.236 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.449, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/1.449, allocations: 47.92 kB / 1.236 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/1.449, allocations: 12 kB / 1.236 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/1.451, allocations: 1.714 MB / 1.238 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/1.452, allocations: 0.7041 MB / 1.238 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.96e-05/1.452, allocations: 4.672 kB / 1.238 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/1.452, allocations: 35.42 kB / 1.239 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/1.452, allocations: 4 kB / 1.239 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/1.483, allocations: 3.964 MB / 1.242 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/10.13, allocations: 8.094 kB / 1.242 GB, free: 6.223 MB / 0.9512 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.181635406101122]