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.001666/0.001666, allocations: 84.73 kB / 19.44 MB, free: 348 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.002029/0.002029, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.497/1.497, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.288/3.288, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.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_latest_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_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8775 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.88e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003111/0.003139, allocations: 1.501 MB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.004428, allocations: 0.6248 MB / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.004471, allocations: 0 / 0.8796 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.004578, allocations: 12.36 kB / 0.8796 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.004655, allocations: 17.55 kB / 0.8797 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.005778, allocations: 351.4 kB / 0.88 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.006074, allocations: 183.6 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.006118, allocations: 5.344 kB / 0.8802 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.006272, allocations: 91.86 kB / 0.8803 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.006375, allocations: 45.47 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.006413, allocations: 12 kB / 0.8803 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.006915, allocations: 279.5 kB / 0.8806 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.006992, allocations: 39.89 kB / 0.8806 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-05/0.007074, allocations: 45.8 kB / 0.8807 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.007607, allocations: 363 kB / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.007611, allocations: 0 / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007612, allocations: 0 / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.007616, allocations: 0 / 0.881 GB, free: 3.016 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.0006828/0.008299, allocations: 404 kB / 0.8814 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.008332, allocations: 12.03 kB / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.008418, allocations: 16.84 kB / 0.8814 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.008651, allocations: 151.8 kB / 0.8816 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.008671, allocations: 12.38 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.008703, allocations: 12.31 kB / 0.8816 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.008906, allocations: 100.8 kB / 0.8817 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.008914, allocations: 4.906 kB / 0.8817 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.008929, allocations: 5.719 kB / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.008933, allocations: 384 / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.009048, allocations: 51.84 kB / 0.8817 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.009314, allocations: 167.1 kB / 0.8819 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.009514, allocations: 107.9 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.009626, allocations: 62.67 kB / 0.8821 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.009638, allocations: 0 / 0.8821 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002991/0.009937, allocations: 137.9 kB / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 9.51e-07/0.009938, allocations: 0 / 0.8822 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0005046/0.01044, allocations: 230 kB / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003502/0.01079, allocations: 118.8 kB / 0.8825 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.01095, allocations: 144.1 kB / 0.8827 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.01099, allocations: 33.7 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.01108, allocations: 104.6 kB / 0.8828 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/0.01116, allocations: 51.58 kB / 0.8828 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.01127, allocations: 57.69 kB / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.01146, allocations: 330.8 kB / 0.8832 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.01157, allocations: 52.27 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.01203, allocations: 462.1 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.01228, allocations: 138.5 kB / 0.8838 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01228, allocations: 0 / 0.8838 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003574/0.01264, allocations: 205.4 kB / 0.884 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.01266, allocations: 4 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.592e-05/0.01268, allocations: 7.984 kB / 0.884 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.01271, allocations: 11.94 kB / 0.8841 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.185e-05/0.0128, allocations: 15.94 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.01281, allocations: 4.234 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.01304, allocations: 43.84 kB / 0.8841 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.01306, allocations: 8 kB / 0.8841 GB, free: 15.46 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.0001658/0.01322, allocations: 144.5 kB / 0.8843 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.01326, allocations: 15.91 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.0133, allocations: 20.77 kB / 0.8843 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.0133, allocations: 7.938 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.01331, allocations: 4 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01331, allocations: 0 / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.01348, allocations: 137.2 kB / 0.8844 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01349, allocations: 0 / 0.8844 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.01353, allocations: 12 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01353, allocations: 0 / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01355, allocations: 4 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.01355, allocations: 7.969 kB / 0.8845 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.01356, allocations: 7.875 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.0139, allocations: 214.6 kB / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.01392, allocations: 11.91 kB / 0.8847 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.01394, allocations: 15.98 kB / 0.8847 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.014, allocations: 4 kB / 0.8847 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.01406, allocations: 11.98 kB / 0.8847 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.01407, allocations: 4 kB / 0.8847 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001045/0.01417, allocations: 107.2 kB / 0.8848 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01417, allocations: 0 / 0.8848 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003761/0.01455, allocations: 107.7 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.0003731/0.01492, allocations: 218.9 kB / 0.8851 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.01529, allocations: 210.6 kB / 0.8853 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01529, allocations: 0 / 0.8853 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.01539, allocations: 47.92 kB / 0.8854 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.01557, allocations: 14.48 kB / 0.8854 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.01611, allocations: 258.1 kB / 0.8856 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.01621, allocations: 88.81 kB / 0.8857 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.01626, allocations: 16.97 kB / 0.8857 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.0163, allocations: 20.5 kB / 0.8858 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/0.0163, allocations: 0 / 0.8858 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of Templates: time 0.00751/0.02381, allocations: 3.25 MB / 0.8889 GB, free: 10.46 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 800] 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: 8.432428058004007]