Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002003/0.002003, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.003313/0.003313, allocations: 215.4 kB / 22.25 MB, free: 5.082 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.649/3.649, allocations: 0.505 GB / 0.8101 GB, free: 22.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_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.003004/0.003004, allocations: 66.48 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5055/0.5085, allocations: 180.2 MB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003619/0.5121, allocations: 1.511 MB / 1.354 GB, free: 6.98 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.5136, allocations: 0.6851 MB / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.5137, allocations: 0 / 1.355 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.5138, allocations: 7.922 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.5139, allocations: 11.88 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.5153, allocations: 371.4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000404/0.5157, allocations: 175.6 kB / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.5158, allocations: 0 / 1.356 GB, free: 5.742 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.5159, allocations: 71.83 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.5161, allocations: 51.81 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.5161, allocations: 12 kB / 1.356 GB, free: 5.609 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.5167, allocations: 291.6 kB / 1.356 GB, free: 5.324 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.5168, allocations: 39.89 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.517, allocations: 63.72 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006463/0.5176, allocations: 307.3 kB / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5176, allocations: 0 / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5176, allocations: 0 / 1.356 GB, free: 4.922 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.5176, allocations: 3.984 kB / 1.356 GB, free: 4.918 MB / 1.045 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.0007851/0.5184, allocations: 401.4 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5184, allocations: 12.03 kB / 1.357 GB, free: 4.48 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.5185, allocations: 34.75 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.399e-05/0.5186, allocations: 16.89 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.5189, allocations: 162.2 kB / 1.357 GB, free: 4.238 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.5189, allocations: 12.36 kB / 1.357 GB, free: 4.227 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.842e-05/0.5189, allocations: 8.375 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.5191, allocations: 106.5 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5191, allocations: 3.938 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5192, allocations: 3.984 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5192, allocations: 4 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.5193, allocations: 43.98 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000335/0.5196, allocations: 214.5 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.5198, allocations: 103.9 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.5199, allocations: 70.61 kB / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.5199, allocations: 0 / 1.357 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.5203, allocations: 139.3 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of pre-optimization done (n=21): time 9.12e-07/0.5203, allocations: 0 / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of matching and sorting (n=21): time 0.000498/0.5208, allocations: 218.1 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5209, allocations: 118.8 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.5211, allocations: 145.7 kB / 1.358 GB, free: 2.914 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.5211, allocations: 37.7 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5212, allocations: 96.64 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.5213, allocations: 63.56 kB / 1.358 GB, free: 2.707 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.5214, allocations: 57.69 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5217, allocations: 326.8 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.5218, allocations: 52.27 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.5221, allocations: 176.5 kB / 1.359 GB, free: 2.047 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.5223, allocations: 130.5 kB / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5223, allocations: 0 / 1.359 GB, free: 1.91 MB / 1.045 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003817/0.5227, allocations: 213.4 kB / 1.359 GB, free: 1.695 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.5227, allocations: 6.031 kB / 1.359 GB, free: 1.691 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-05/0.5227, allocations: 7.984 kB / 1.359 GB, free: 1.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.5228, allocations: 4 kB / 1.359 GB, free: 1.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.5229, allocations: 11.94 kB / 1.359 GB, free: 1.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5229, allocations: 4 kB / 1.359 GB, free: 1.664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.5231, allocations: 43.84 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.5232, allocations: 16 kB / 1.359 GB, free: 1.605 MB / 1.045 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.0001779/0.5233, allocations: 149 kB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5234, allocations: 11.91 kB / 1.359 GB, free: 1.438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.5234, allocations: 16.72 kB / 1.359 GB, free: 1.422 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.5234, allocations: 7.984 kB / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5234, allocations: 0 / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5234, allocations: 0 / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.5236, allocations: 172.6 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5237, allocations: 4 kB / 1.36 GB, free: 1.199 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.5237, allocations: 19.98 kB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5237, allocations: 0 / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.5237, allocations: 8 kB / 1.36 GB, free: 1.172 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.5237, allocations: 3.938 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5237, allocations: 3.938 kB / 1.36 GB, free: 1.164 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.5241, allocations: 214.6 kB / 1.36 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.5241, allocations: 19.84 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.5241, allocations: 4 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.5242, allocations: 7.938 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.5243, allocations: 11.97 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.5243, allocations: 4 kB / 1.36 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.324e-05/0.5244, allocations: 103.3 kB / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5244, allocations: 0 / 1.36 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004699/0.5248, allocations: 103.8 kB / 1.36 GB, free: 0.6797 MB / 1.045 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.001048/0.5259, allocations: 0.8497 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004171/0.5263, allocations: 212.9 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5263, allocations: 0 / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.5264, allocations: 51.92 kB / 1.361 GB, free: 15.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.5266, allocations: 15.92 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.529, allocations: 1.809 MB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.5294, allocations: 0.7238 MB / 1.364 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.792e-05/0.5294, allocations: 13.25 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.5295, allocations: 31.42 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of SimCode: time 6.22e-07/0.5295, allocations: 0 / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.5681, allocations: 4.823 MB / 1.368 GB, free: 8.129 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.05, allocations: 3.938 kB / 1.368 GB, free: 8.125 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.97759912512265]