Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 293 MB / 309 MB, free: 4.805 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 175.9 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.4 MB / 0.6383 GB, free: 9.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008088/0.0008087, allocations: 94.67 kB / 0.7527 GB, free: 62.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004175, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 116.4 MB / 0.9905 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7353/1.028, allocations: 138.8 MB / 1.126 GB, free: 34.97 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/1.028, allocations: 69.98 kB / 1.126 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008513/1.036, allocations: 3.941 MB / 1.13 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.156e-06/1.036, allocations: 0 / 1.13 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.276e-05/1.036, allocations: 1.156 kB / 1.13 GB, free: 32.09 MB / 0.7292 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.0004756/1.037, allocations: 407.2 kB / 1.13 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.037, allocations: 8.938 kB / 1.13 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/1.037, allocations: 4.938 kB / 1.13 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/1.037, allocations: 189.2 kB / 1.131 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/1.037, allocations: 8.375 kB / 1.131 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/1.037, allocations: 4.375 kB / 1.131 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/1.037, allocations: 79.95 kB / 1.131 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.037, allocations: 192 / 1.131 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/1.038, allocations: 9.656 kB / 1.131 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.038, allocations: 0.5 kB / 1.131 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.408e-05/1.038, allocations: 42.89 kB / 1.131 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/1.038, allocations: 353.3 kB / 1.131 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/1.038, allocations: 109.5 kB / 1.131 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.16e-05/1.038, allocations: 64.33 kB / 1.131 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/1.039, allocations: 0 / 1.131 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/1.039, allocations: 94.58 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/1.039, allocations: 1.125 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0003086/1.039, allocations: 152.8 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.039, allocations: 51.41 kB / 1.131 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/1.039, allocations: 132.9 kB / 1.132 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.039, allocations: 29.7 kB / 1.132 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/1.039, allocations: 84.14 kB / 1.132 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.039, allocations: 23.28 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/1.039, allocations: 8 kB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.479e-05/1.039, allocations: 322.3 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.245e-05/1.039, allocations: 31.61 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/1.039, allocations: 61.59 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/1.04, allocations: 94.03 kB / 1.132 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.04, allocations: 4.562 kB / 1.132 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001719/1.04, allocations: 124.2 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.04, allocations: 4 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.04, allocations: 0 / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/1.04, allocations: 6.016 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/1.04, allocations: 11.36 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.04, allocations: 1.125 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/1.04, allocations: 11.91 kB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.862e-05/1.04, allocations: 26.3 kB / 1.132 GB, free: 29.55 MB / 0.7292 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 8.949e-05/1.04, allocations: 121.8 kB / 1.133 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/1.04, allocations: 7.422 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/1.04, allocations: 12.38 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/1.04, allocations: 1.312 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.04, allocations: 0 / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.04, allocations: 4 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003473/1.041, allocations: 414.6 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.041, allocations: 3.422 kB / 1.133 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.344e-05/1.041, allocations: 13 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.041, allocations: 0 / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/1.041, allocations: 1.031 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/1.041, allocations: 4 kB / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.041, allocations: 0 / 1.133 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/1.041, allocations: 218.3 kB / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/1.041, allocations: 88.62 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/1.041, allocations: 0 / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/1.041, allocations: 8.75 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/1.041, allocations: 12.53 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/1.041, allocations: 22.36 kB / 1.133 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.973e-05/1.041, allocations: 91.69 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.041, allocations: 0 / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002408/1.041, allocations: 16 kB / 1.133 GB, free: 28.51 MB / 0.7292 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.0001262/1.041, allocations: 110.8 kB / 1.133 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001708/1.042, allocations: 96.05 kB / 1.134 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.042, allocations: 0 / 1.134 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.584e-05/1.042, allocations: 43.12 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/1.042, allocations: 62.17 kB / 1.134 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/1.043, allocations: 223.1 kB / 1.134 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/1.043, allocations: 0.6955 MB / 1.135 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.592e-05/1.043, allocations: 16.75 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.075e-05/1.043, allocations: 19.44 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.043, allocations: 1.219 kB / 1.135 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.004271/1.047, allocations: 1.484 MB / 1.136 GB, free: 26.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)