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.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.000765/0.000765, 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.0008187/0.0008187, 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.8517/0.8517, allocations: 177.2 MB / 202.8 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 179] 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 1.705/1.705, allocations: 389.1 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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 2.345e-06/2.345e-06, allocations: 0 / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.871e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002091/0.00212, allocations: 1.481 MB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007171/0.002837, allocations: 0.6233 MB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.00288, allocations: 4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.244e-05/0.002952, allocations: 11.86 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.003013, allocations: 19.8 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.003699, allocations: 362 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.003879, allocations: 171.6 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.003919, allocations: 4 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.004008, allocations: 91.88 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.004071, allocations: 43.88 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.004093, allocations: 8 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.004379, allocations: 283.5 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.004441, allocations: 47.83 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.004495, allocations: 43.91 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.004823, allocations: 355.1 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004825, allocations: 4 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004827, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.004831, allocations: 0 / 1.003 GB, free: 10.01 MB / 0.9636 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.0004334/0.005264, allocations: 401.3 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.0053, allocations: 8.75 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.005331, allocations: 46.67 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.005369, allocations: 12.84 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.005519, allocations: 157.6 kB / 1.004 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.005531, allocations: 4.375 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005548, allocations: 16.38 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.005689, allocations: 100.7 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.005696, allocations: 192 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.005705, allocations: 4.375 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.005711, allocations: 8.109 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.005777, allocations: 47.91 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.005946, allocations: 194.5 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.006047, allocations: 107.9 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.006107, allocations: 58.67 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.006117, allocations: 8 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000188/0.006305, allocations: 140.3 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.006307, allocations: 0 / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21): time 0.0002951/0.006602, allocations: 217.3 kB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.006652, allocations: 114.8 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.00673, allocations: 143.3 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.006752, allocations: 37.7 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.006798, allocations: 96.64 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.006842, allocations: 59.56 kB / 1.005 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.006897, allocations: 57.7 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/0.006971, allocations: 326.8 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.007032, allocations: 56.27 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.007232, allocations: 463.2 kB / 1.006 GB, free: 6.82 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.007361, allocations: 126.5 kB / 1.006 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007363, allocations: 3.938 kB / 1.006 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001963/0.00756, allocations: 205.5 kB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.007572, allocations: 7.938 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.007593, allocations: 7.984 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.007604, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.735e-05/0.007672, allocations: 12 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.007677, allocations: 0 / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.007795, allocations: 55.8 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.007806, allocations: 11.98 kB / 1.006 GB, free: 6.383 MB / 0.9636 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 8.398e-05/0.00789, allocations: 136.5 kB / 1.006 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.007904, allocations: 15.88 kB / 1.006 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.418e-05/0.007928, allocations: 24.7 kB / 1.006 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007931, allocations: 4 kB / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.007936, allocations: 0 / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.007939, allocations: 0 / 1.006 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.008037, allocations: 172.6 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008038, allocations: 4 kB / 1.007 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.643e-05/0.008065, allocations: 15.98 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008068, allocations: 7.875 kB / 1.007 GB, free: 5.953 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.008076, allocations: 4 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.008077, allocations: 3.938 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008078, allocations: 0 / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.008253, allocations: 210.6 kB / 1.007 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.063e-05/0.008264, allocations: 11.89 kB / 1.007 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.008279, allocations: 4 kB / 1.007 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.74e-05/0.008307, allocations: 4 kB / 1.007 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.008346, allocations: 19.91 kB / 1.007 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.008354, allocations: 11.94 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.008394, allocations: 105.5 kB / 1.007 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008394, allocations: 3.938 kB / 1.007 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002346/0.008628, allocations: 99.8 kB / 1.007 GB, free: 5.461 MB / 0.9636 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.0004918/0.00912, allocations: 0.8495 MB / 1.008 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.009348, allocations: 216.9 kB / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009349, allocations: 0 / 1.008 GB, free: 4.344 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/0.0094, allocations: 43.92 kB / 1.008 GB, free: 4.301 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.009528, allocations: 18.05 kB / 1.008 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.0108, allocations: 1.849 MB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.693e-05/0.01085, allocations: 96.81 kB / 1.01 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.01089, allocations: 12.97 kB / 1.01 GB, free: 2.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.01093, allocations: 36.48 kB / 1.01 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01093, allocations: 0 / 1.01 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.02661, allocations: 5.425 MB / 1.015 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.545/6.571, allocations: 8.062 kB / 1.015 GB, free: 12.94 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.494921043515205]