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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.OccupancySchedulePositiveStartTime") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.7/1.7, allocations: 390.4 MB / 397.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 184.7 kB / 490.8 MB, free: 1.848 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.058/1.058, allocations: 221.4 MB / 0.7863 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007981/0.0007981, allocations: 97.59 kB / 0.9264 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.438e-06/4.458e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1657, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.6137, allocations: 149.7 MB / 1.358 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001724/0.6139, allocations: 71.69 kB / 1.358 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01233/0.6262, allocations: 4.718 MB / 1.362 GB, free: 16.88 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.6263, allocations: 6.156 kB / 1.362 GB, free: 16.88 MB / 0.823 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.000441/0.6267, allocations: 447.3 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.6267, allocations: 8.156 kB / 1.363 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.6268, allocations: 12.78 kB / 1.363 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.627, allocations: 218.7 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.6271, allocations: 2.5 kB / 1.363 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.6271, allocations: 15.25 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.845e-05/0.6272, allocations: 45.66 kB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.6273, allocations: 95.95 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.6273, allocations: 1.094 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.6274, allocations: 0 / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6274, allocations: 1.25 kB / 1.363 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/0.6275, allocations: 232.6 kB / 1.363 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6277, allocations: 107.1 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.578e-05/0.6277, allocations: 70.8 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.6278, allocations: 1 kB / 1.364 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.6279, allocations: 121.6 kB / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.062e-06/0.6279, allocations: 0 / 1.364 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003023/0.6282, allocations: 156.2 kB / 1.364 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.6282, allocations: 114 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.6283, allocations: 134.5 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.6284, allocations: 38.11 kB / 1.364 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.6284, allocations: 87.34 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.6284, allocations: 53.89 kB / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.6285, allocations: 0 / 1.364 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.6285, allocations: 327.2 kB / 1.365 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.433e-05/0.6286, allocations: 48.98 kB / 1.365 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.6288, allocations: 188 kB / 1.365 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.6289, allocations: 81.5 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6289, allocations: 5.281 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002789/0.6292, allocations: 197.7 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.6292, allocations: 3.781 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.6293, allocations: 7.484 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.6293, allocations: 2.531 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.6293, allocations: 19.2 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.6294, allocations: 2.578 kB / 1.365 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.6295, allocations: 47.72 kB / 1.365 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.6296, allocations: 8 kB / 1.365 GB, free: 30.88 MB / 0.8386 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.6297, allocations: 120.3 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.6297, allocations: 12.5 kB / 1.365 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.6297, allocations: 15.64 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6297, allocations: 8.859 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.6297, allocations: 0 / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.6297, allocations: 1.594 kB / 1.365 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.6298, allocations: 178.7 kB / 1.366 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6298, allocations: 5.406 kB / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.6299, allocations: 9.562 kB / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6299, allocations: 1.828 kB / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6299, allocations: 4.391 kB / 1.366 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.6299, allocations: 9.344 kB / 1.366 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6299, allocations: 1.156 kB / 1.366 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00023/0.6302, allocations: 225.4 kB / 1.366 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.6302, allocations: 89.23 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.6302, allocations: 8.969 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.6303, allocations: 7.203 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.6303, allocations: 7.734 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.6303, allocations: 7.5 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.709e-05/0.6304, allocations: 99.83 kB / 1.366 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002947/0.6307, allocations: 114.7 kB / 1.366 GB, free: 30.24 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002526/0.6309, allocations: 213.4 kB / 1.366 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.6312, allocations: 211.7 kB / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6312, allocations: 0 / 1.366 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.399e-05/0.6312, allocations: 53.88 kB / 1.367 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.6314, allocations: 10.47 kB / 1.367 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.6316, allocations: 172.5 kB / 1.367 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.6318, allocations: 0.7311 MB / 1.367 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6318, allocations: 0 / 1.367 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.004782/0.6366, allocations: 2.993 MB / 1.37 GB, free: 28.91 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches