Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.029/2.029, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 199.4 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009219/0.000922, allocations: 107.7 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009785/0.0009786, allocations: 56.33 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2127, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001809/0.2145, allocations: 0.7135 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.2149, allocations: 183.4 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.52e-05/0.215, allocations: 4 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2151, allocations: 3.938 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.2152, allocations: 3.984 kB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2154, allocations: 35.91 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2155, allocations: 59.83 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2157, allocations: 19.98 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.957e-05/0.2157, allocations: 19.92 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.2158, allocations: 23.91 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.2158, allocations: 4 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.2158, allocations: 0 / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.2159, allocations: 19.92 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2159, allocations: 27.86 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.751e-05/0.216, allocations: 71.75 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.216, allocations: 0 / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.41e-07/0.216, allocations: 4 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.216, allocations: 0 / 1.219 GB, free: 116.1 MB / 0.823 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.0004372/0.2165, allocations: 407 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2165, allocations: 11.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2165, allocations: 8.844 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2167, allocations: 184.2 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2167, allocations: 8.375 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2167, allocations: 4.375 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2169, allocations: 90.14 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.2169, allocations: 192 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2169, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2169, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.217, allocations: 43.98 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.2174, allocations: 348.6 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.2176, allocations: 127.3 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.81e-05/0.2176, allocations: 64.84 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2177, allocations: 3.938 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.2178, allocations: 87.38 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.2178, allocations: 0 / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0002253/0.218, allocations: 145.6 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.2181, allocations: 59.34 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.2181, allocations: 133.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2182, allocations: 29.7 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.301e-05/0.2182, allocations: 92.12 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2182, allocations: 27.72 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.2183, allocations: 33.7 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.2183, allocations: 322.8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.2184, allocations: 35.98 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.345e-05/0.2185, allocations: 58.55 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.115e-05/0.2185, allocations: 90.48 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2186, allocations: 0 / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.2187, allocations: 125.6 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2187, allocations: 4.781 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.2187, allocations: 0 / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2187, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.2188, allocations: 12.09 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2188, allocations: 7.969 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.234e-05/0.2189, allocations: 7.906 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.2189, allocations: 23.95 kB / 1.222 GB, free: 113.3 MB / 0.823 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.219, allocations: 135 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.219, allocations: 7.906 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.2191, allocations: 12.38 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2191, allocations: 48 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2191, allocations: 7.984 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2191, allocations: 4.359 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.2194, allocations: 418.3 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2194, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.146e-05/0.2194, allocations: 4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2194, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2194, allocations: 0 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2194, allocations: 4 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2194, allocations: 80 / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.2197, allocations: 0.8175 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.2198, allocations: 88.95 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.2198, allocations: 0 / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.2198, allocations: 8 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.2199, allocations: 11.98 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2199, allocations: 23.95 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.22, allocations: 99.27 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.22, allocations: 0 / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003072/0.2203, allocations: 19.98 kB / 1.223 GB, free: 111.5 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.184e-05/0.2204, allocations: 104.6 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.2205, allocations: 91.88 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2205, allocations: 0 / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.2206, allocations: 47.97 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.221, allocations: 89.06 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003199/0.2213, allocations: 345.9 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.2214, allocations: 0.6926 MB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.26e-05/0.2215, allocations: 20.69 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.2215, allocations: 11.44 kB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of SimCode: time 3.11e-07/0.2215, allocations: 0 / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of Templates: time 0.003082/0.2246, allocations: 1.691 MB / 1.226 GB, free: 108.4 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)