Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0021/0.0021, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.002552/0.002552, allocations: 169.5 kB / 22.46 MB, free: 5.363 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.64/1.64, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.967/2.967, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.086e-05, allocations: 5.094 kB / 0.9814 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00257/0.002601, allocations: 1.486 MB / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003722, allocations: 0.6264 MB / 0.9834 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.003761, allocations: 3.938 kB / 0.9835 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.745e-05/0.003838, allocations: 19.86 kB / 0.9835 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.003904, allocations: 11.86 kB / 0.9835 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.004927, allocations: 366.7 kB / 0.9838 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.005204, allocations: 175.6 kB / 0.984 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.005246, allocations: 4 kB / 0.984 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.005384, allocations: 91.86 kB / 0.9841 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.005475, allocations: 43.89 kB / 0.9841 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.005512, allocations: 12 kB / 0.9841 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.005974, allocations: 279.5 kB / 0.9844 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.006057, allocations: 39.89 kB / 0.9845 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.006144, allocations: 39.92 kB / 0.9845 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005146/0.006658, allocations: 355.2 kB / 0.9848 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006662, allocations: 0 / 0.9848 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006663, allocations: 0 / 0.9848 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.443e-06/0.006669, allocations: 0 / 0.9848 GB, free: 8.496 MB / 0.9356 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.0007274/0.007396, allocations: 421.2 kB / 0.9852 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.007433, allocations: 12.03 kB / 0.9852 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.0075, allocations: 12.89 kB / 0.9853 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.00774, allocations: 149.6 kB / 0.9854 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.007756, allocations: 8.375 kB / 0.9854 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.007785, allocations: 8.375 kB / 0.9854 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.007997, allocations: 100.7 kB / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.008006, allocations: 192 / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.008019, allocations: 384 / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.008024, allocations: 384 / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.008136, allocations: 55.84 kB / 0.9856 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002689/0.008405, allocations: 171.1 kB / 0.9857 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.008579, allocations: 103.9 kB / 0.9858 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.0087, allocations: 62.67 kB / 0.9859 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.008714, allocations: 3.938 kB / 0.9859 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002405/0.008955, allocations: 133.9 kB / 0.986 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.293e-06/0.008956, allocations: 3.938 kB / 0.986 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0004865/0.009443, allocations: 218.1 kB / 0.9862 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.009547, allocations: 118.8 kB / 0.9863 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.009698, allocations: 148.1 kB / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.009747, allocations: 45.7 kB / 0.9865 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.009824, allocations: 96.64 kB / 0.9866 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.009898, allocations: 55.53 kB / 0.9867 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01, allocations: 65.69 kB / 0.9867 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.01018, allocations: 326.8 kB / 0.987 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.852e-05/0.01028, allocations: 48.27 kB / 0.9871 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000439/0.01072, allocations: 465.8 kB / 0.9875 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.01096, allocations: 138.5 kB / 0.9877 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01096, allocations: 0 / 0.9877 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003425/0.0113, allocations: 201.5 kB / 0.9879 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01132, allocations: 4 kB / 0.9879 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.01134, allocations: 12.06 kB / 0.9879 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.01136, allocations: 7.938 kB / 0.9879 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.01146, allocations: 8 kB / 0.9879 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.01148, allocations: 7.984 kB / 0.9879 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.01172, allocations: 43.84 kB / 0.9879 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.01174, allocations: 15.94 kB / 0.988 GB, free: 4.938 MB / 0.9356 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.0001538/0.01189, allocations: 136.4 kB / 0.9881 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01192, allocations: 15.91 kB / 0.9881 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.01196, allocations: 16.78 kB / 0.9881 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.01197, allocations: 11.92 kB / 0.9881 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.01197, allocations: 0 / 0.9881 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01198, allocations: 4 kB / 0.9881 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.01216, allocations: 141.2 kB / 0.9883 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01216, allocations: 0 / 0.9883 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.01221, allocations: 11.94 kB / 0.9883 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.01221, allocations: 4 kB / 0.9883 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01223, allocations: 4 kB / 0.9883 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.01223, allocations: 4 kB / 0.9883 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.01224, allocations: 7.938 kB / 0.9883 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.01256, allocations: 202.7 kB / 0.9885 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.01258, allocations: 11.91 kB / 0.9885 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.0126, allocations: 8 kB / 0.9885 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.01266, allocations: 11.92 kB / 0.9885 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.01272, allocations: 15.92 kB / 0.9885 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01273, allocations: 4 kB / 0.9885 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.316e-05/0.01281, allocations: 113.7 kB / 0.9886 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01281, allocations: 0 / 0.9886 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003879/0.0132, allocations: 103.7 kB / 0.9887 GB, free: 4.062 MB / 0.9356 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.0003628/0.01356, allocations: 219.8 kB / 0.989 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003521/0.01391, allocations: 209.1 kB / 0.9892 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01391, allocations: 0 / 0.9892 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.01402, allocations: 47.91 kB / 0.9892 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.0142, allocations: 10.25 kB / 0.9892 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.01472, allocations: 247.9 kB / 0.9894 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.01482, allocations: 100.7 kB / 0.9895 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.01487, allocations: 12.97 kB / 0.9896 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.01491, allocations: 20.5 kB / 0.9896 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.01491, allocations: 0 / 0.9896 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of Templates: time 0.007358/0.02227, allocations: 3.219 MB / 0.9927 GB, free: 15.97 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.67320952564478]