Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.447/2.447, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 182.3 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.333/2.333, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001228/0.001227, allocations: 92.48 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004933/0.0004936, allocations: 15.14 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2491, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.5056, allocations: 131.6 MB / 1.028 GB, free: 13.7 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5059, allocations: 79.95 kB / 1.028 GB, free: 13.62 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.01741/0.5234, allocations: 3.954 MB / 1.032 GB, free: 9.668 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.504e-06/0.5234, allocations: 8 kB / 1.032 GB, free: 9.66 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.5234, allocations: 0 / 1.032 GB, free: 9.66 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006317/0.5241, allocations: 400.9 kB / 1.032 GB, free: 9.211 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5241, allocations: 8.031 kB / 1.032 GB, free: 9.203 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.5242, allocations: 8.844 kB / 1.032 GB, free: 9.195 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.5244, allocations: 184.3 kB / 1.033 GB, free: 8.977 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.5245, allocations: 8.375 kB / 1.033 GB, free: 8.969 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.5245, allocations: 4.375 kB / 1.033 GB, free: 8.965 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.5248, allocations: 82.22 kB / 1.033 GB, free: 8.879 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5248, allocations: 192 / 1.033 GB, free: 8.879 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.5248, allocations: 7.938 kB / 1.033 GB, free: 8.871 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5248, allocations: 3.938 kB / 1.033 GB, free: 8.867 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.525, allocations: 39.97 kB / 1.033 GB, free: 8.828 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.5258, allocations: 344.6 kB / 1.033 GB, free: 8.441 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.5261, allocations: 122.5 kB / 1.033 GB, free: 8.312 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.5263, allocations: 60.86 kB / 1.033 GB, free: 8.25 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5263, allocations: 4 kB / 1.033 GB, free: 8.246 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.5265, allocations: 91.25 kB / 1.033 GB, free: 8.145 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=9): time 2.515e-06/0.5266, allocations: 4 kB / 1.033 GB, free: 8.141 MB / 0.6824 GB Notification: Performance of matching and sorting (n=9): time 0.0004766/0.5271, allocations: 157.5 kB / 1.033 GB, free: 7.98 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.5271, allocations: 51.41 kB / 1.034 GB, free: 7.918 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5273, allocations: 133.6 kB / 1.034 GB, free: 7.777 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.5273, allocations: 29.7 kB / 1.034 GB, free: 7.742 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.5274, allocations: 88.08 kB / 1.034 GB, free: 7.652 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.5274, allocations: 23.78 kB / 1.034 GB, free: 7.629 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.046e-06/0.5275, allocations: 0 / 1.034 GB, free: 7.629 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5276, allocations: 330.8 kB / 1.034 GB, free: 7.297 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.5277, allocations: 31.98 kB / 1.034 GB, free: 7.266 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.5278, allocations: 62.59 kB / 1.034 GB, free: 7.195 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.528, allocations: 39.92 kB / 1.034 GB, free: 7.156 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.528, allocations: 0 / 1.034 GB, free: 7.156 MB / 0.6824 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003099/0.5283, allocations: 129.5 kB / 1.034 GB, free: 7.023 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.5283, allocations: 11.98 kB / 1.034 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5284, allocations: 0 / 1.034 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5284, allocations: 0 / 1.034 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5285, allocations: 12 kB / 1.034 GB, free: 7 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5285, allocations: 4 kB / 1.034 GB, free: 6.996 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.5287, allocations: 0 / 1.034 GB, free: 6.996 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.775e-05/0.5288, allocations: 23.95 kB / 1.034 GB, free: 6.973 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.0001574/0.5289, allocations: 134.8 kB / 1.035 GB, free: 6.832 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.529, allocations: 7.906 kB / 1.035 GB, free: 6.824 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.529, allocations: 8.375 kB / 1.035 GB, free: 6.812 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.529, allocations: 7.984 kB / 1.035 GB, free: 6.805 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.529, allocations: 0 / 1.035 GB, free: 6.805 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5291, allocations: 48 / 1.035 GB, free: 6.805 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.5297, allocations: 418.7 kB / 1.035 GB, free: 6.34 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5298, allocations: 0 / 1.035 GB, free: 6.34 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.5298, allocations: 4 kB / 1.035 GB, free: 6.336 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.5298, allocations: 0 / 1.035 GB, free: 6.336 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.5298, allocations: 7.984 kB / 1.035 GB, free: 6.328 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5299, allocations: 0 / 1.035 GB, free: 6.328 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5299, allocations: 0 / 1.035 GB, free: 6.328 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.5302, allocations: 219.3 kB / 1.035 GB, free: 6.098 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.5303, allocations: 77.11 kB / 1.035 GB, free: 6.004 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.5303, allocations: 15.98 kB / 1.035 GB, free: 5.988 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.5304, allocations: 0 / 1.035 GB, free: 5.988 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.5305, allocations: 11.92 kB / 1.035 GB, free: 5.977 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/0.5306, allocations: 23.91 kB / 1.035 GB, free: 5.953 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 9.179e-05/0.5307, allocations: 99.2 kB / 1.035 GB, free: 5.855 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.5e-07/0.5307, allocations: 4 kB / 1.035 GB, free: 5.852 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003617/0.5311, allocations: 12 kB / 1.035 GB, free: 5.84 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001811/0.5313, allocations: 113.3 kB / 1.036 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0002986/0.5316, allocations: 87.89 kB / 1.036 GB, free: 5.637 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5316, allocations: 0 / 1.036 GB, free: 5.637 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.5317, allocations: 43.92 kB / 1.036 GB, free: 5.594 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.5325, allocations: 69.42 kB / 1.036 GB, free: 5.527 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.5331, allocations: 217.4 kB / 1.036 GB, free: 5.281 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.5335, allocations: 0.7003 MB / 1.037 GB, free: 4.555 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.5336, allocations: 8.438 kB / 1.037 GB, free: 4.547 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.252e-05/0.5336, allocations: 27.36 kB / 1.037 GB, free: 4.52 MB / 0.6824 GB Notification: Performance of SimCode: time 1.212e-06/0.5337, allocations: 0 / 1.037 GB, free: 4.52 MB / 0.6824 GB Notification: Performance of Templates: time 0.00608/0.5397, allocations: 1.468 MB / 1.038 GB, free: 3.066 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)