Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.001529/0.001529, allocations: 113.1 kB / 16.45 MB, free: 6.445 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.00172/0.00172, allocations: 191.7 kB / 19.41 MB, free: 3.652 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.658/1.658, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.116/3.116, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 75.88 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.052, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002386/1.054, allocations: 1.482 MB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009492/1.055, allocations: 0.6999 MB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/1.055, allocations: 0 / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.7e-05/1.055, allocations: 14.17 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/1.055, allocations: 18 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008321/1.056, allocations: 344 kB / 1.306 GB, free: 30.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/1.056, allocations: 176.5 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/1.056, allocations: 6.031 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/1.056, allocations: 69.84 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/1.056, allocations: 49.97 kB / 1.307 GB, free: 30.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/1.056, allocations: 15.47 kB / 1.307 GB, free: 30.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/1.057, allocations: 256.3 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/1.057, allocations: 41.58 kB / 1.307 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/1.057, allocations: 59.03 kB / 1.307 GB, free: 30.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003132/1.057, allocations: 302.3 kB / 1.307 GB, free: 30.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.057, allocations: 0 / 1.307 GB, free: 30.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.057, allocations: 0 / 1.307 GB, free: 30.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.45e-06/1.057, allocations: 0 / 1.307 GB, free: 30.05 MB / 1.061 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.0004913/1.058, allocations: 488.6 kB / 1.308 GB, free: 29.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/1.058, allocations: 12.62 kB / 1.308 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/1.058, allocations: 40.56 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/1.058, allocations: 16.59 kB / 1.308 GB, free: 29.55 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/1.058, allocations: 213.9 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/1.058, allocations: 6 kB / 1.308 GB, free: 29.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/1.058, allocations: 13.12 kB / 1.308 GB, free: 29.32 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/1.058, allocations: 100.4 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.058, allocations: 3.938 kB / 1.308 GB, free: 29.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/1.058, allocations: 4 kB / 1.308 GB, free: 29.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.058, allocations: 2.938 kB / 1.308 GB, free: 29.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/1.058, allocations: 48.69 kB / 1.308 GB, free: 29.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/1.058, allocations: 242.8 kB / 1.309 GB, free: 28.99 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/1.058, allocations: 104.7 kB / 1.309 GB, free: 28.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/1.059, allocations: 66.03 kB / 1.309 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/1.059, allocations: 3.984 kB / 1.309 GB, free: 28.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/1.059, allocations: 134.4 kB / 1.309 GB, free: 28.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 1.213e-06/1.059, allocations: 4 kB / 1.309 GB, free: 28.75 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.0003443/1.059, allocations: 219.8 kB / 1.309 GB, free: 28.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/1.059, allocations: 119.3 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/1.059, allocations: 134.6 kB / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/1.059, allocations: 35.7 kB / 1.309 GB, free: 28.39 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/1.059, allocations: 106.1 kB / 1.309 GB, free: 28.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/1.059, allocations: 52.72 kB / 1.309 GB, free: 28.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/1.059, allocations: 68.69 kB / 1.31 GB, free: 28.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.855e-05/1.059, allocations: 325.2 kB / 1.31 GB, free: 27.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.947e-05/1.06, allocations: 52.19 kB / 1.31 GB, free: 27.87 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1.06, allocations: 177.6 kB / 1.31 GB, free: 27.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/1.06, allocations: 136.9 kB / 1.31 GB, free: 27.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.06, allocations: 0 / 1.31 GB, free: 27.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002539/1.06, allocations: 203.3 kB / 1.31 GB, free: 27.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.06, allocations: 7.594 kB / 1.31 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.06, allocations: 2.344 kB / 1.31 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.06, allocations: 2.875 kB / 1.31 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/1.06, allocations: 18.22 kB / 1.31 GB, free: 27.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.06, allocations: 0 / 1.31 GB, free: 27.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/1.06, allocations: 55.39 kB / 1.31 GB, free: 27.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/1.06, allocations: 9.234 kB / 1.31 GB, free: 27.54 MB / 1.061 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 9.103e-05/1.061, allocations: 141.7 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/1.061, allocations: 9.234 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/1.061, allocations: 22.77 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.061, allocations: 2.594 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.061, allocations: 0 / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.061, allocations: 6.906 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/1.061, allocations: 215.8 kB / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.061, allocations: 2.594 kB / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.201e-05/1.061, allocations: 8.781 kB / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.061, allocations: 0 / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/1.061, allocations: 6.312 kB / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.061, allocations: 0 / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.061, allocations: 2.938 kB / 1.311 GB, free: 27.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/1.061, allocations: 211.9 kB / 1.311 GB, free: 27.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/1.061, allocations: 86.94 kB / 1.311 GB, free: 26.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/1.061, allocations: 10.72 kB / 1.311 GB, free: 26.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/1.061, allocations: 9.625 kB / 1.311 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/1.061, allocations: 10.03 kB / 1.311 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/1.061, allocations: 13.03 kB / 1.311 GB, free: 26.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.475e-05/1.061, allocations: 103.6 kB / 1.311 GB, free: 26.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.061, allocations: 4 kB / 1.311 GB, free: 26.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003269/1.062, allocations: 106.6 kB / 1.311 GB, free: 26.8 MB / 1.061 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.0005321/1.062, allocations: 0.8398 MB / 1.312 GB, free: 26.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002547/1.062, allocations: 217.9 kB / 1.312 GB, free: 25.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.062, allocations: 0 / 1.312 GB, free: 25.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/1.062, allocations: 43.42 kB / 1.312 GB, free: 25.97 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/1.063, allocations: 17.06 kB / 1.312 GB, free: 25.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/1.064, allocations: 1.852 MB / 1.314 GB, free: 24.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/1.064, allocations: 0.7046 MB / 1.315 GB, free: 23.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.456e-05/1.064, allocations: 12.75 kB / 1.315 GB, free: 23.81 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/1.064, allocations: 35.02 kB / 1.315 GB, free: 23.79 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/1.064, allocations: 0 / 1.315 GB, free: 23.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02602/1.09, allocations: 4.612 MB / 1.32 GB, free: 23.18 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/9.576, allocations: 7.875 kB / 1.32 GB, free: 23.17 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --stepSize=48.384 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.471585163846612]