Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 104.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 189.6 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002175/0.002175, allocations: 296.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.033/1.033, allocations: 169.3 MB / 0.4988 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001874, allocations: 103.5 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2039, allocations: 86.98 MB / 0.6808 GB, free: 8.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003535/0.2075, allocations: 1.47 MB / 0.6823 GB, free: 6.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.2089, allocations: 0.689 MB / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.209, allocations: 0 / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.2091, allocations: 15.86 kB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.2092, allocations: 11.86 kB / 0.683 GB, free: 5.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2103, allocations: 350.3 kB / 0.6833 GB, free: 5.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.2106, allocations: 171.6 kB / 0.6835 GB, free: 5.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.2107, allocations: 4 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2108, allocations: 67.88 kB / 0.6835 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2109, allocations: 55.75 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.2109, allocations: 12 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.2113, allocations: 243.8 kB / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.178e-05/0.2114, allocations: 47.83 kB / 0.6839 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2116, allocations: 55.72 kB / 0.6839 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.2121, allocations: 303.6 kB / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2121, allocations: 0 / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2121, allocations: 0 / 0.6842 GB, free: 4.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2121, allocations: 0 / 0.6842 GB, free: 4.691 MB / 494.1 MB 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.0007226/0.2128, allocations: 483 kB / 0.6847 GB, free: 4.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.2129, allocations: 8.031 kB / 0.6847 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.213, allocations: 16.75 kB / 0.6847 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.2132, allocations: 206.4 kB / 0.6849 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2132, allocations: 8.375 kB / 0.6849 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.2133, allocations: 12.38 kB / 0.6849 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2135, allocations: 100.7 kB / 0.685 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2135, allocations: 4.172 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.2135, allocations: 7.922 kB / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.2135, allocations: 0 / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.2136, allocations: 51.91 kB / 0.6851 GB, free: 3.711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.2139, allocations: 247.3 kB / 0.6853 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.2141, allocations: 108.6 kB / 0.6854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2142, allocations: 70.67 kB / 0.6855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2142, allocations: 7.984 kB / 0.6855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.2145, allocations: 139.1 kB / 0.6856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.2145, allocations: 3.938 kB / 0.6856 GB, free: 3.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004434/0.215, allocations: 218.1 kB / 0.6858 GB, free: 2.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.2151, allocations: 114.8 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2152, allocations: 155.8 kB / 0.6861 GB, free: 2.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2153, allocations: 37.64 kB / 0.6861 GB, free: 2.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.565e-05/0.2153, allocations: 100.7 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.2154, allocations: 47.36 kB / 0.6863 GB, free: 2.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.651e-05/0.2155, allocations: 61.69 kB / 0.6863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2157, allocations: 326.8 kB / 0.6866 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.2158, allocations: 48.27 kB / 0.6867 GB, free: 1.883 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.216, allocations: 180.5 kB / 0.6869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.2162, allocations: 134.5 kB / 0.687 GB, free: 1.523 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2162, allocations: 0 / 0.687 GB, free: 1.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003083/0.2165, allocations: 197.3 kB / 0.6872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2166, allocations: 12 kB / 0.6872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.2166, allocations: 7.984 kB / 0.6872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2166, allocations: 0 / 0.6872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.2167, allocations: 19.94 kB / 0.6872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2167, allocations: 0 / 0.6872 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.217, allocations: 50.73 kB / 0.6873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.217, allocations: 11.98 kB / 0.6873 GB, free: 1.227 MB / 494.1 MB 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.0001451/0.2171, allocations: 140.2 kB / 0.6874 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.2172, allocations: 19.75 kB / 0.6874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.014e-05/0.2172, allocations: 16.7 kB / 0.6874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2172, allocations: 0 / 0.6874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2172, allocations: 0 / 0.6874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2172, allocations: 4 kB / 0.6874 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.2174, allocations: 213.5 kB / 0.6877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.2175, allocations: 7.938 kB / 0.6877 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.2175, allocations: 8 kB / 0.6877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2175, allocations: 0 / 0.6877 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2175, allocations: 8 kB / 0.6877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2175, allocations: 0 / 0.6877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.2176, allocations: 4 kB / 0.6877 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.2178, allocations: 210.5 kB / 0.6879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2179, allocations: 88.95 kB / 0.688 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2179, allocations: 11.94 kB / 0.688 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.218, allocations: 15.92 kB / 0.688 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.2181, allocations: 8 kB / 0.688 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2181, allocations: 7.984 kB / 0.688 GB, free: 388 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.2182, allocations: 103.3 kB / 0.6881 GB, free: 284 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2182, allocations: 0 / 0.6881 GB, free: 284 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.2185, allocations: 95.98 kB / 0.6882 GB, free: 188 kB / 494.1 MB 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.3029/0.5215, allocations: 190.3 kB / 0.6884 GB, free: 18.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.5221, allocations: 229.2 kB / 0.6886 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5221, allocations: 3.75 kB / 0.6886 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.5222, allocations: 57.06 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.5225, allocations: 15.44 kB / 0.6887 GB, free: 17.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.523, allocations: 276.7 kB / 0.6889 GB, free: 17.78 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.5231, allocations: 0.7128 MB / 0.6896 GB, free: 17.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.5232, allocations: 14.66 kB / 0.6896 GB, free: 17.07 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5232, allocations: 0 / 0.6896 GB, free: 17.07 MB / 494.1 MB Notification: Performance of Templates: time 0.007205/0.5304, allocations: 3.111 MB / 0.6927 GB, free: 16.83 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)