Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.0009685/0.0009685, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00164/0.00164, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9046/0.9046, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.684/1.684, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.199e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.001966/0.001988, allocations: 1.489 MB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.002755, allocations: 0.6387 MB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.002797, allocations: 4 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 7.509e-05/0.002872, allocations: 11.86 kB / 0.9526 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.002936, allocations: 19.8 kB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.003673, allocations: 353.8 kB / 0.9529 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.003856, allocations: 171.6 kB / 0.9531 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.0039, allocations: 8 kB / 0.9531 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.228e-05/0.003992, allocations: 95.84 kB / 0.9532 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.004066, allocations: 51.81 kB / 0.9532 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.00409, allocations: 8 kB / 0.9532 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.004376, allocations: 275.5 kB / 0.9535 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.004443, allocations: 43.83 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.004503, allocations: 43.89 kB / 0.9536 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003517/0.004854, allocations: 355.1 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.004859, allocations: 0 / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.874e-06/0.00486, allocations: 4 kB / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.004865, allocations: 0 / 0.9539 GB, free: 15.97 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004882/0.005353, allocations: 413.3 kB / 0.9543 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.005401, allocations: 8.031 kB / 0.9543 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.853e-05/0.005439, allocations: 38.75 kB / 0.9544 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.005481, allocations: 8.891 kB / 0.9544 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.005656, allocations: 165.4 kB / 0.9545 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.005671, allocations: 8.375 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.005688, allocations: 8.375 kB / 0.9545 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.005924, allocations: 102.9 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.005932, allocations: 4.188 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.005943, allocations: 4.312 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.00595, allocations: 4.125 kB / 0.9546 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.998e-05/0.00603, allocations: 47.97 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.006229, allocations: 202.5 kB / 0.9549 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.006346, allocations: 99.83 kB / 0.955 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.006425, allocations: 70.64 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.006438, allocations: 4 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.006676, allocations: 136.3 kB / 0.9552 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.006678, allocations: 4 kB / 0.9552 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.0003266/0.007004, allocations: 222 kB / 0.9554 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.007062, allocations: 118.8 kB / 0.9555 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.007149, allocations: 137.8 kB / 0.9556 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.007173, allocations: 33.7 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.00722, allocations: 104.6 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.007272, allocations: 55.58 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.007338, allocations: 57.69 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.007419, allocations: 326.8 kB / 0.9562 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.007486, allocations: 56.25 kB / 0.9562 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.007702, allocations: 471.2 kB / 0.9567 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.007839, allocations: 126.6 kB / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.007842, allocations: 0 / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002322/0.008074, allocations: 205.4 kB / 0.957 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.008096, allocations: 10.28 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.008125, allocations: 4 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.008145, allocations: 0 / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008253, allocations: 19.92 kB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.00826, allocations: 0 / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.00841, allocations: 47.84 kB / 0.9571 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.008421, allocations: 8 kB / 0.9571 GB, free: 12.33 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001027/0.008523, allocations: 144.4 kB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.00854, allocations: 15.84 kB / 0.9573 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.00857, allocations: 20.72 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.008574, allocations: 4 kB / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.008579, allocations: 0 / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.008583, allocations: 0 / 0.9573 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.008708, allocations: 168.6 kB / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.00871, allocations: 0 / 0.9574 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.008742, allocations: 16 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008745, allocations: 3.938 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.008755, allocations: 8 kB / 0.9575 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008757, allocations: 3.984 kB / 0.9575 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.00876, allocations: 3.938 kB / 0.9575 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.008966, allocations: 206.6 kB / 0.9577 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.008981, allocations: 15.84 kB / 0.9577 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.008998, allocations: 0 / 0.9577 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.009035, allocations: 7.984 kB / 0.9577 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.009087, allocations: 19.92 kB / 0.9577 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.009094, allocations: 4 kB / 0.9577 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.009145, allocations: 111.2 kB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009145, allocations: 3.938 kB / 0.9578 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003014/0.009446, allocations: 103.8 kB / 0.9579 GB, free: 11.41 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006109/0.01006, allocations: 0.8508 MB / 0.9588 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002658/0.01032, allocations: 221 kB / 0.959 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01032, allocations: 0 / 0.959 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.01038, allocations: 51.91 kB / 0.959 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.01053, allocations: 8 kB / 0.959 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.01194, allocations: 1.847 MB / 0.9608 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.408e-05/0.012, allocations: 88.81 kB / 0.9609 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.01204, allocations: 12.97 kB / 0.9609 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.01209, allocations: 32.5 kB / 0.961 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of SimCode: time 7.62e-07/0.01209, allocations: 0 / 0.961 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.0342, allocations: 5.434 MB / 0.9663 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.049, allocations: 8.062 kB / 0.9663 GB, free: 2.879 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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: 11.038487130776048]