Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.743/2.743, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 57.67 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3194, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.00216/0.3216, allocations: 0.6413 MB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005671/0.3222, allocations: 195.3 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.3223, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3224, allocations: 3.938 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.3225, allocations: 11.94 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.3228, allocations: 43.83 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.323, allocations: 51.91 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3231, allocations: 19.97 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.3232, allocations: 19.92 kB / 1.069 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.9e-05/0.3233, allocations: 31.86 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.3233, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.3234, allocations: 8 kB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.3234, allocations: 15.97 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.3235, allocations: 31.8 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3236, allocations: 75.75 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.3236, allocations: 3.938 kB / 1.069 GB, free: 9.262 MB / 0.8262 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.0005414/0.3242, allocations: 407.6 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3242, allocations: 12.03 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.3243, allocations: 12.84 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3245, allocations: 176.3 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.3245, allocations: 4.375 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3245, allocations: 12.36 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.3247, allocations: 86.09 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3247, allocations: 4.188 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3247, allocations: 3.938 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.3247, allocations: 4 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.219e-05/0.3248, allocations: 43.97 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3254, allocations: 340.7 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3256, allocations: 122.5 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.3257, allocations: 60.86 kB / 1.071 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3257, allocations: 4 kB / 1.071 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.3259, allocations: 91.28 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3259, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0002894/0.3262, allocations: 153.6 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3263, allocations: 51.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.3264, allocations: 133.6 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3264, allocations: 29.7 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.3264, allocations: 92.08 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3265, allocations: 19.91 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.3265, allocations: 37.64 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.3266, allocations: 322.8 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.08e-05/0.3267, allocations: 35.97 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.3268, allocations: 58.94 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3269, allocations: 90.86 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3269, allocations: 0 / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002018/0.3271, allocations: 137.5 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3271, allocations: 8 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3271, allocations: 3.938 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.3272, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.3272, allocations: 8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3273, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.505e-05/0.3273, allocations: 11.83 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.3274, allocations: 27.95 kB / 1.072 GB, free: 6.457 MB / 0.8262 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 0.0001111/0.3275, allocations: 136.2 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.3275, allocations: 7.906 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.3276, allocations: 12.36 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3276, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3276, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3276, allocations: 8.031 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.328, allocations: 406.4 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.328, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/0.328, allocations: 0 / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.328, allocations: 4 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3281, allocations: 7.984 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3281, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3281, allocations: 3.938 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.3283, allocations: 219.3 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3283, allocations: 89 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.3284, allocations: 8 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/0.3284, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.3285, allocations: 15.92 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.3285, allocations: 35.89 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.3286, allocations: 91.27 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3286, allocations: 0 / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002405/0.3288, allocations: 12 kB / 1.073 GB, free: 5.324 MB / 0.8262 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 0.0001147/0.3289, allocations: 107.4 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000214/0.3292, allocations: 103.8 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3292, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/0.3293, allocations: 47.92 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3298, allocations: 85.98 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004/0.3302, allocations: 197.3 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.3305, allocations: 0.6963 MB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.698e-05/0.3305, allocations: 16.53 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.3306, allocations: 15.44 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3306, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.004789/0.3354, allocations: 1.703 MB / 1.076 GB, free: 2.34 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)