Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001384/0.001384, allocations: 105.6 kB / 16.45 MB, free: 6.453 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.001668/0.001668, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.647/1.647, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.577/3.577, allocations: 0.49 GB / 0.7916 GB, free: 33.12 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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",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.002116/0.002116, allocations: 70.47 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4499, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002765/0.4527, allocations: 1.516 MB / 1.322 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4538, allocations: 0.6813 MB / 1.323 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.4539, allocations: 4 kB / 1.323 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.15e-05/0.454, allocations: 7.922 kB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.454, allocations: 11.88 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009706/0.455, allocations: 347.1 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.4552, allocations: 167.7 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.4553, allocations: 7.938 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.4554, allocations: 79.81 kB / 1.324 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.004e-05/0.4555, allocations: 43.83 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.4555, allocations: 15.94 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.4559, allocations: 255.7 kB / 1.324 GB, free: 232 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.456, allocations: 39.89 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.4561, allocations: 59.72 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.4565, allocations: 299.5 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4565, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4565, allocations: 0 / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4565, allocations: 0 / 1.324 GB, free: 15.83 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.0007235/0.4572, allocations: 486.5 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.4573, allocations: 15.92 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4573, allocations: 38.75 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.4574, allocations: 12.84 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.4577, allocations: 212.2 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4577, allocations: 16.36 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.4577, allocations: 8.375 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.4579, allocations: 107.1 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4579, allocations: 3.938 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.458, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.458, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4581, allocations: 43.97 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.4584, allocations: 243.4 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.4585, allocations: 107.9 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4586, allocations: 70.59 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4586, allocations: 0 / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.4589, allocations: 133.9 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.4589, allocations: 0 / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004581/0.4593, allocations: 221.3 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/0.4594, allocations: 118.8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.4596, allocations: 141.5 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.4596, allocations: 37.7 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.4597, allocations: 104.7 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.4598, allocations: 51.62 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4599, allocations: 61.69 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.46, allocations: 322.8 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4601, allocations: 56.25 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.4604, allocations: 184.5 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.4606, allocations: 138.5 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4606, allocations: 0 / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003484/0.4609, allocations: 209.3 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4609, allocations: 4 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/0.461, allocations: 4 kB / 1.327 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.461, allocations: 8 kB / 1.327 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4611, allocations: 11.94 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4611, allocations: 8.922 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.4613, allocations: 43.84 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4614, allocations: 8 kB / 1.327 GB, free: 12.31 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.0001568/0.4615, allocations: 144.1 kB / 1.327 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.4616, allocations: 11.91 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.4616, allocations: 24.7 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4616, allocations: 4 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4616, allocations: 0 / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4616, allocations: 0 / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.4619, allocations: 209.5 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4619, allocations: 0 / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.4619, allocations: 12 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4619, allocations: 0 / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4619, allocations: 4 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4619, allocations: 3.938 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4619, allocations: 7.922 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.4622, allocations: 212.9 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.4623, allocations: 96.95 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.4623, allocations: 0 / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.4624, allocations: 11.92 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.4625, allocations: 11.98 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4625, allocations: 8 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.593e-05/0.4626, allocations: 105.1 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4626, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003917/0.463, allocations: 103.8 kB / 1.328 GB, free: 11.26 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.0008947/0.4639, allocations: 0.8442 MB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.4642, allocations: 209 kB / 1.329 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4642, allocations: 4 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.4643, allocations: 43.92 kB / 1.329 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4645, allocations: 19.86 kB / 1.329 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.4667, allocations: 1.827 MB / 1.331 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.4671, allocations: 0.716 MB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.4672, allocations: 8.891 kB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.4672, allocations: 35.42 kB / 1.332 GB, free: 7.371 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4672, allocations: 4 kB / 1.332 GB, free: 7.367 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.498, allocations: 4.627 MB / 1.336 GB, free: 2.914 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.218/8.716, allocations: 4 kB / 1.336 GB, free: 2.91 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.35768891707994]