Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.525/2.525, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.001324/0.001324, allocations: 185.4 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.182/2.182, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008801/0.0008798, allocations: 90.34 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 11.78 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2086, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9858/1.194, allocations: 137.6 MB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/1.195, allocations: 68.09 kB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02461/1.219, allocations: 3.943 MB / 1.118 GB, free: 31.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.949e-06/1.22, allocations: 4 kB / 1.118 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.22, allocations: 3.938 kB / 1.118 GB, free: 31.25 MB / 0.698 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.0007764/1.22, allocations: 404.7 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.22, allocations: 15.41 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.817e-05/1.221, allocations: 4.812 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/1.221, allocations: 180 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/1.221, allocations: 4.25 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/1.221, allocations: 4.188 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/1.221, allocations: 87.2 kB / 1.118 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/1.221, allocations: 4.188 kB / 1.118 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/1.221, allocations: 3.938 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/1.221, allocations: 5.906 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/1.221, allocations: 45.97 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.223, allocations: 337 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/1.223, allocations: 124.5 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/1.223, allocations: 59.81 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/1.223, allocations: 3.906 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/1.224, allocations: 86.83 kB / 1.119 GB, free: 30.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 3.737e-06/1.224, allocations: 4 kB / 1.119 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0005884/1.224, allocations: 154.6 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/1.224, allocations: 51.41 kB / 1.119 GB, free: 30.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/1.224, allocations: 124.6 kB / 1.119 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/1.224, allocations: 33.42 kB / 1.119 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/1.225, allocations: 83.89 kB / 1.119 GB, free: 29.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/1.225, allocations: 29.52 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/1.225, allocations: 0 / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.225, allocations: 329.2 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/1.225, allocations: 40.45 kB / 1.12 GB, free: 29.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/1.225, allocations: 55.45 kB / 1.12 GB, free: 29.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/1.225, allocations: 92.91 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.226, allocations: 0 / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000408/1.226, allocations: 126.1 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.226, allocations: 7.75 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.226, allocations: 2.812 kB / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/1.226, allocations: 0 / 1.12 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/1.226, allocations: 11.84 kB / 1.12 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.226, allocations: 3.781 kB / 1.12 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/1.226, allocations: 6.953 kB / 1.12 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/1.227, allocations: 23.52 kB / 1.12 GB, free: 29.47 MB / 0.698 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.0002153/1.227, allocations: 131 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/1.227, allocations: 7 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/1.227, allocations: 12.22 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.227, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/1.227, allocations: 3.938 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/1.227, allocations: 0 / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008479/1.228, allocations: 421.6 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.228, allocations: 0 / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/1.228, allocations: 3.469 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.228, allocations: 3.969 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.228, allocations: 0 / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.228, allocations: 0 / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.228, allocations: 3.938 kB / 1.121 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/1.228, allocations: 215.1 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/1.229, allocations: 92.61 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/1.229, allocations: 3.281 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/1.229, allocations: 0 / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/1.229, allocations: 18.31 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/1.229, allocations: 21.42 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001011/1.229, allocations: 91.53 kB / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.51e-07/1.229, allocations: 0 / 1.121 GB, free: 28.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005204/1.23, allocations: 19.38 kB / 1.121 GB, free: 28.71 MB / 0.698 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.0001989/1.23, allocations: 111.1 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003599/1.23, allocations: 90.2 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.23, allocations: 0 / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/1.23, allocations: 42.3 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/1.231, allocations: 64.41 kB / 1.121 GB, free: 28.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006986/1.232, allocations: 227.5 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/1.233, allocations: 0.6895 MB / 1.122 GB, free: 27.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001448/1.233, allocations: 14.88 kB / 1.122 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/1.233, allocations: 18.41 kB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of SimCode: time 3.287e-06/1.233, allocations: 4 kB / 1.122 GB, free: 27.75 MB / 0.698 GB Notification: Performance of Templates: time 0.007787/1.241, allocations: 1.474 MB / 1.124 GB, free: 27.63 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)