Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00174/0.00174, 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.002534/0.002534, allocations: 207.6 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.781 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.383/3.383, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.002095/0.002095, allocations: 72.56 kB / 1.153 GB, free: 25.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 176.1 MB / 1.325 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003533/0.3633, allocations: 1.477 MB / 1.326 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3646, allocations: 0.619 MB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.008e-05/0.3647, allocations: 0 / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.611e-05/0.3648, allocations: 15.86 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.531e-05/0.3649, allocations: 15.84 kB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.366, allocations: 358.9 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.3663, allocations: 167.6 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.206e-05/0.3664, allocations: 12 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3665, allocations: 79.81 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.3667, allocations: 43.77 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.3667, allocations: 15.94 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005286/0.3672, allocations: 275.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.3673, allocations: 39.91 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3674, allocations: 51.77 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.368, allocations: 315.3 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.368, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.368, allocations: 0 / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.368, allocations: 0 / 1.328 GB, free: 14.89 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006683/0.3686, allocations: 406.4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.3687, allocations: 8.031 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.3687, allocations: 38.75 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.3688, allocations: 16.83 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.369, allocations: 151.8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.369, allocations: 8.375 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3691, allocations: 8.375 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3693, allocations: 108.6 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3693, allocations: 7.938 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3693, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3693, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3694, allocations: 51.91 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002739/0.3697, allocations: 194.5 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.3699, allocations: 99.83 kB / 1.329 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.37, allocations: 70.69 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.37, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.3703, allocations: 141.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.3703, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004745/0.3708, allocations: 209.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.3709, allocations: 122.8 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.371, allocations: 143.1 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.3711, allocations: 41.69 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3712, allocations: 92.64 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.3712, allocations: 51.64 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3713, allocations: 65.69 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3715, allocations: 330.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.3716, allocations: 48.27 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.372, allocations: 465.3 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002222/0.3722, allocations: 134.5 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3722, allocations: 4 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003402/0.3726, allocations: 201.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3726, allocations: 9.344 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.3726, allocations: 4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3726, allocations: 3.984 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3728, allocations: 23.94 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3728, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.373, allocations: 52.73 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.373, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 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.0001546/0.3732, allocations: 148.3 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.3732, allocations: 7.953 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/0.3732, allocations: 12.72 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3732, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3732, allocations: 4 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3732, allocations: 3.984 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.3734, allocations: 172.5 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3734, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.3735, allocations: 19.92 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3735, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3735, allocations: 4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3735, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3735, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3739, allocations: 216.8 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.3739, allocations: 19.83 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3739, allocations: 8 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.165e-05/0.374, allocations: 8.078 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.374, allocations: 19.91 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.374, allocations: 7.984 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.07e-05/0.3741, allocations: 105 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3741, allocations: 0 / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003705/0.3745, allocations: 103.8 kB / 1.332 GB, free: 10.34 MB / 1.029 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.0008628/0.3754, allocations: 0.8492 MB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.3757, allocations: 209.1 kB / 1.333 GB, free: 9.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3757, allocations: 4 kB / 1.333 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.3758, allocations: 47.92 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.376, allocations: 17.56 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.3783, allocations: 1.818 MB / 1.335 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3784, allocations: 100.5 kB / 1.335 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.142e-05/0.3785, allocations: 12.97 kB / 1.335 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.863e-05/0.3785, allocations: 35.36 kB / 1.335 GB, free: 7.078 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3785, allocations: 4 kB / 1.335 GB, free: 7.074 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0385/0.417, allocations: 5.288 MB / 1.341 GB, free: 1.957 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 11.81 kB / 1.341 GB, free: 1.953 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.84545002086088]