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.001649/0.001649, allocations: 110 kB / 16.45 MB, free: 6.035 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.001958/0.001958, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] 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.714/2.714, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 GB " [Timeout remaining time 176] 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.002051/0.002051, allocations: 67.89 kB / 1.056 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.15, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.004011/1.154, allocations: 1.431 MB / 1.214 GB, free: 2.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001311/1.156, allocations: 0.4979 MB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/1.156, allocations: 1.25 kB / 1.215 GB, free: 2.355 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/1.156, allocations: 5.219 kB / 1.215 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/1.156, allocations: 14.77 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/1.157, allocations: 226.3 kB / 1.215 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004295/1.158, allocations: 155.8 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/1.158, allocations: 7.422 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/1.158, allocations: 56.03 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/1.158, allocations: 46 kB / 1.215 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/1.158, allocations: 10.94 kB / 1.215 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005203/1.159, allocations: 166.4 kB / 1.215 GB, free: 1.961 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001281/1.159, allocations: 35.16 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/1.159, allocations: 50.31 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007827/1.16, allocations: 238.6 kB / 1.216 GB, free: 1.754 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.16, allocations: 4 kB / 1.216 GB, free: 1.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.816e-06/1.16, allocations: 0 / 1.216 GB, free: 1.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.16, allocations: 1.188 kB / 1.216 GB, free: 1.75 MB / 0.92 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.001141/1.161, allocations: 461.3 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/1.161, allocations: 10.58 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/1.161, allocations: 33.22 kB / 1.216 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.12e-05/1.161, allocations: 12.77 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/1.162, allocations: 208.3 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/1.162, allocations: 5.844 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/1.162, allocations: 16.78 kB / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/1.162, allocations: 83.27 kB / 1.217 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.162, allocations: 3.938 kB / 1.217 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.162, allocations: 1.062 kB / 1.217 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/1.162, allocations: 1.125 kB / 1.217 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/1.162, allocations: 38.47 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/1.162, allocations: 237.5 kB / 1.217 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/1.163, allocations: 72.19 kB / 1.217 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/1.163, allocations: 51 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/1.163, allocations: 0 / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/1.163, allocations: 120.2 kB / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/1.163, allocations: 0 / 1.217 GB, free: 484 kB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.000495/1.164, allocations: 190.7 kB / 1.217 GB, free: 388 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.534e-05/1.164, allocations: 86.36 kB / 1.217 GB, free: 288 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/1.164, allocations: 150.5 kB / 1.217 GB, free: 160 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/1.164, allocations: 38.27 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/1.164, allocations: 94.17 kB / 1.218 GB, free: 24 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.164, allocations: 41.88 kB / 1.218 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/1.164, allocations: 60.25 kB / 1.218 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.164, allocations: 326.3 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.947e-05/1.164, allocations: 41.14 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/1.165, allocations: 199.6 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/1.165, allocations: 97.36 kB / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.165, allocations: 0 / 1.218 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003147/1.165, allocations: 163.5 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.165, allocations: 8.344 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/1.165, allocations: 6.141 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/1.165, allocations: 1.125 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.306e-05/1.165, allocations: 11.31 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.165, allocations: 1.531 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/1.166, allocations: 74.48 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.166, allocations: 9.094 kB / 1.219 GB, free: 15.23 MB / 0.9356 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.0001801/1.166, allocations: 143.1 kB / 1.219 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/1.166, allocations: 7.922 kB / 1.219 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/1.166, allocations: 20.16 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.166, allocations: 6.344 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/1.166, allocations: 0 / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.166, allocations: 1.188 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/1.166, allocations: 201.9 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.166, allocations: 9.172 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/1.166, allocations: 6.156 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.166, allocations: 1.094 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.166, allocations: 1.188 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.166, allocations: 0.8125 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.166, allocations: 1.234 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/1.167, allocations: 183.5 kB / 1.219 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.167, allocations: 93.61 kB / 1.219 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/1.167, allocations: 5.234 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/1.167, allocations: 6.594 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/1.167, allocations: 2.312 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/1.167, allocations: 2.875 kB / 1.219 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001222/1.167, allocations: 114.1 kB / 1.219 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.167, allocations: 0 / 1.219 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004862/1.168, allocations: 76.48 kB / 1.219 GB, free: 14.48 MB / 0.9356 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.001043/1.169, allocations: 0.7843 MB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003506/1.169, allocations: 158.8 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.169, allocations: 1.094 kB / 1.22 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/1.169, allocations: 36.64 kB / 1.22 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/1.169, allocations: 15 kB / 1.22 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/1.172, allocations: 1.713 MB / 1.222 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/1.172, allocations: 0.7046 MB / 1.223 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.182e-05/1.172, allocations: 7.328 kB / 1.223 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.345e-05/1.172, allocations: 28.36 kB / 1.223 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/1.172, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/1.206, allocations: 3.995 MB / 1.227 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/9.794, allocations: 11.48 kB / 1.227 GB, free: 9.445 MB / 0.9356 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_OccupancySchedule_fmu --startTime=-86400 --stopTime=1.2096e+06 --stepSize=518.4 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.118928775191307]