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.001322/0.001322, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 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.001623/0.001623, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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.276/3.276, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.374e-05/3.564e-05, allocations: 4.297 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003494/0.003529, allocations: 1.478 MB / 0.879 GB, free: 5.031 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.004928, allocations: 0.6351 MB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.004987, allocations: 0 / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.005088, allocations: 11.88 kB / 0.8796 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.005169, allocations: 11.86 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.006429, allocations: 352.7 kB / 0.88 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003611/0.00679, allocations: 179.6 kB / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.006834, allocations: 0 / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.007023, allocations: 95.84 kB / 0.8802 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.007144, allocations: 48.81 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.306e-05/0.007187, allocations: 12 kB / 0.8803 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005514/0.007739, allocations: 276.6 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.802e-05/0.007827, allocations: 39.91 kB / 0.8806 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.746e-05/0.007924, allocations: 43.89 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.00885, allocations: 360.2 kB / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.008854, allocations: 0 / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.322e-06/0.008855, allocations: 0 / 0.881 GB, free: 3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.00886, allocations: 0 / 0.881 GB, free: 3 MB / 0.8386 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.0007923/0.009652, allocations: 402.4 kB / 0.8814 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.009696, allocations: 9 kB / 0.8814 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.009796, allocations: 20.84 kB / 0.8814 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.01006, allocations: 164 kB / 0.8816 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.01008, allocations: 4.875 kB / 0.8816 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.01012, allocations: 14.25 kB / 0.8816 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.01034, allocations: 100.7 kB / 0.8817 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.01036, allocations: 4.188 kB / 0.8817 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.01038, allocations: 384 / 0.8817 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.01039, allocations: 4.375 kB / 0.8817 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.01051, allocations: 49.25 kB / 0.8817 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.01081, allocations: 179 kB / 0.8819 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.011, allocations: 91.89 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.01113, allocations: 75.72 kB / 0.8821 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.01115, allocations: 4 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.01148, allocations: 126.6 kB / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.01148, allocations: 0 / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0005118/0.01199, allocations: 231.6 kB / 0.8824 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.0121, allocations: 118.8 kB / 0.8825 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.01227, allocations: 140.1 kB / 0.8826 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.01235, allocations: 45.69 kB / 0.8827 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.01244, allocations: 99.11 kB / 0.8828 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.01252, allocations: 59.5 kB / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.01264, allocations: 65.69 kB / 0.8829 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.01284, allocations: 322.8 kB / 0.8832 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.01295, allocations: 52.25 kB / 0.8833 GB, free: 456 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.01346, allocations: 462.3 kB / 0.8837 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.01371, allocations: 134.5 kB / 0.8838 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01371, allocations: 2.062 kB / 0.8838 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003976/0.01411, allocations: 209.4 kB / 0.884 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.01413, allocations: 8 kB / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.01416, allocations: 4 kB / 0.884 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.01418, allocations: 3.938 kB / 0.884 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.0143, allocations: 20.64 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.01431, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.01455, allocations: 45.5 kB / 0.8841 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.01457, allocations: 8 kB / 0.8841 GB, free: 15.45 MB / 0.8542 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.0001718/0.01474, allocations: 141.6 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.777e-05/0.01478, allocations: 11.95 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.055e-05/0.01482, allocations: 12.78 kB / 0.8843 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.01482, allocations: 11.94 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01483, allocations: 0 / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.01484, allocations: 7.922 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.01503, allocations: 141.2 kB / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01503, allocations: 0 / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.01508, allocations: 8 kB / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01508, allocations: 0 / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.0151, allocations: 4 kB / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.0151, allocations: 0 / 0.8844 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.0151, allocations: 7.938 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.01549, allocations: 224.6 kB / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.01552, allocations: 19.98 kB / 0.8847 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.01555, allocations: 7.984 kB / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.01562, allocations: 11.98 kB / 0.8847 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.01568, allocations: 7.984 kB / 0.8847 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.01569, allocations: 4 kB / 0.8847 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.802e-05/0.01579, allocations: 103.3 kB / 0.8848 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01579, allocations: 0 / 0.8848 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004312/0.01622, allocations: 103.8 kB / 0.8849 GB, free: 14.58 MB / 0.8542 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.0004282/0.01665, allocations: 222.9 kB / 0.8851 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.01705, allocations: 220.8 kB / 0.8853 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01705, allocations: 0 / 0.8853 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.01717, allocations: 47.92 kB / 0.8854 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/0.01735, allocations: 8 kB / 0.8854 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.01792, allocations: 246.4 kB / 0.8856 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.01803, allocations: 92.81 kB / 0.8857 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.287e-05/0.01809, allocations: 12.98 kB / 0.8857 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.01813, allocations: 16.48 kB / 0.8857 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01813, allocations: 0 / 0.8857 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.008232/0.02636, allocations: 3.259 MB / 0.8889 GB, free: 10.45 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/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: 8.509265971020795]