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.0007618/0.0007618, 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.0008631/0.0008631, 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.8825/0.8825, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.729/1.729, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.533e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.66 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002082/0.002107, allocations: 1.481 MB / 0.9824 GB, free: 1.172 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007537/0.002861, allocations: 0.6264 MB / 0.983 GB, free: 0.543 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.002903, allocations: 4 kB / 0.983 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/0.003002, allocations: 7.922 kB / 0.983 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.003085, allocations: 19.8 kB / 0.983 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.004156, allocations: 355.5 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.00441, allocations: 171.8 kB / 0.9835 GB, free: 16 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/0.004475, allocations: 8 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.004598, allocations: 95.84 kB / 0.9836 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.004691, allocations: 47.88 kB / 0.9837 GB, free: 15.85 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.004721, allocations: 8 kB / 0.9837 GB, free: 15.84 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000363/0.005084, allocations: 271.5 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.005169, allocations: 47.83 kB / 0.984 GB, free: 15.53 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 8.26e-05/0.005252, allocations: 47.83 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.005713, allocations: 355.1 kB / 0.9844 GB, free: 15.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.005716, allocations: 0 / 0.9844 GB, free: 15.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.005718, allocations: 4 kB / 0.9844 GB, free: 15.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.005725, allocations: 0 / 0.9844 GB, free: 15.13 MB / 0.948 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.0006101/0.006335, allocations: 409.3 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.006395, allocations: 8.031 kB / 0.9848 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.865e-05/0.006433, allocations: 38.73 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.006484, allocations: 12.89 kB / 0.9848 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.006693, allocations: 157.5 kB / 0.985 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.006706, allocations: 4.375 kB / 0.985 GB, free: 14.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.006728, allocations: 16.31 kB / 0.985 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.00703, allocations: 104.8 kB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.007042, allocations: 192 / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.007056, allocations: 384 / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.00707, allocations: 3.938 kB / 0.9851 GB, free: 14.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.007159, allocations: 47.91 kB / 0.9851 GB, free: 14.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.00742, allocations: 202.5 kB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.007557, allocations: 103.9 kB / 0.9854 GB, free: 13.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.007632, allocations: 58.67 kB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.007652, allocations: 7.984 kB / 0.9855 GB, free: 13.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.00795, allocations: 145.7 kB / 0.9856 GB, free: 13.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.007952, allocations: 4 kB / 0.9856 GB, free: 13.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0003968/0.008348, allocations: 214.2 kB / 0.9858 GB, free: 13.43 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.942e-05/0.008438, allocations: 114.8 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.00855, allocations: 152.1 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.008577, allocations: 33.7 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.008637, allocations: 96.64 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.008708, allocations: 63.56 kB / 0.9863 GB, free: 12.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.008785, allocations: 57.69 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.008907, allocations: 326.8 kB / 0.9866 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.158e-05/0.008988, allocations: 48.27 kB / 0.9867 GB, free: 12.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.009299, allocations: 467.8 kB / 0.9871 GB, free: 11.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.009475, allocations: 134.4 kB / 0.9873 GB, free: 11.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.009479, allocations: 0 / 0.9873 GB, free: 11.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002508/0.00973, allocations: 205.4 kB / 0.9874 GB, free: 11.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.009754, allocations: 4 kB / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.009788, allocations: 4 kB / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.009808, allocations: 0 / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.009928, allocations: 19.94 kB / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.009938, allocations: 0 / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.01009, allocations: 55.83 kB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.01011, allocations: 4 kB / 0.9875 GB, free: 11.5 MB / 0.948 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.0001495/0.01026, allocations: 144.5 kB / 0.9877 GB, free: 11.35 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.01028, allocations: 15.84 kB / 0.9877 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.619e-05/0.01033, allocations: 20.7 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.01033, allocations: 4 kB / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.01034, allocations: 0 / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.01035, allocations: 0 / 0.9877 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.01051, allocations: 172.6 kB / 0.9879 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01051, allocations: 4 kB / 0.9879 GB, free: 11.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.01055, allocations: 19.94 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.01055, allocations: 3.938 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01057, allocations: 4 kB / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01057, allocations: 0 / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01057, allocations: 0 / 0.9879 GB, free: 11.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.01083, allocations: 211.2 kB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.263e-05/0.01085, allocations: 15.84 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.01088, allocations: 4 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.01091, allocations: 7.984 kB / 0.9881 GB, free: 10.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/0.01099, allocations: 15.92 kB / 0.9881 GB, free: 10.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.011, allocations: 8 kB / 0.9882 GB, free: 10.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.586e-05/0.01106, allocations: 107.2 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01106, allocations: 3.938 kB / 0.9883 GB, free: 10.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004054/0.01147, allocations: 103.8 kB / 0.9884 GB, free: 10.57 MB / 0.948 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.0007216/0.01219, allocations: 0.8581 MB / 0.9892 GB, free: 9.684 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.01251, allocations: 208.9 kB / 0.9894 GB, free: 9.461 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01252, allocations: 0 / 0.9894 GB, free: 9.461 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.23e-05/0.01258, allocations: 47.91 kB / 0.9894 GB, free: 9.414 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.01276, allocations: 9.875 kB / 0.9895 GB, free: 9.406 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.01445, allocations: 1.837 MB / 0.9912 GB, free: 7.469 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01456, allocations: 96.8 kB / 0.9913 GB, free: 7.355 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.01461, allocations: 8.984 kB / 0.9913 GB, free: 7.344 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.01468, allocations: 36.48 kB / 0.9914 GB, free: 7.309 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.01468, allocations: 0 / 0.9914 GB, free: 7.309 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.03868, allocations: 5.439 MB / 0.9967 GB, free: 2.059 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.679/6.718, allocations: 18 kB / 0.9967 GB, free: 2.043 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.914717076346278]