Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.043/5.043, allocations: 0.5623 GB / 0.5775 GB, free: 3.352 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00249/0.002489, allocations: 361.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.136/4.136, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00188/0.001879, allocations: 189 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005057, allocations: 12 kB / 1.349 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7387/0.7392, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.9793, allocations: 137.6 MB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.9796, allocations: 77.2 kB / 1.596 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01929/0.9989, allocations: 3.92 MB / 1.6 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.026e-06/0.999, allocations: 0 / 1.6 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.999, allocations: 3.938 kB / 1.6 GB, free: 142.7 MB / 0.8542 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.0005762/0.9996, allocations: 401.5 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9997, allocations: 12.34 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.9998, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/1, allocations: 187.9 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1, allocations: 8 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/1, allocations: 4 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/1, allocations: 86.47 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1, allocations: 0.75 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/1.001, allocations: 44.47 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007902/1.001, allocations: 334.9 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/1.002, allocations: 124.2 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/1.002, allocations: 66.33 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/1.002, allocations: 3.469 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/1.002, allocations: 88 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.384e-06/1.002, allocations: 1 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0004941/1.003, allocations: 158.5 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.003, allocations: 59.3 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.003, allocations: 129.9 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/1.003, allocations: 33.7 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/1.003, allocations: 84.14 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/1.003, allocations: 17.17 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-06/1.003, allocations: 3.938 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/1.003, allocations: 322.8 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/1.003, allocations: 32.55 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/1.003, allocations: 60.39 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/1.004, allocations: 36.69 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.004, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000347/1.004, allocations: 139.6 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.004, allocations: 8 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.004, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.004, allocations: 0 / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.004, allocations: 8.969 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.004, allocations: 7.953 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/1.004, allocations: 8 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/1.004, allocations: 24.61 kB / 1.602 GB, free: 140 MB / 0.8542 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.0001247/1.005, allocations: 125.3 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/1.005, allocations: 12.69 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/1.005, allocations: 12.36 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.005, allocations: 4.5 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.005, allocations: 2.844 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.005, allocations: 3.953 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/1.005, allocations: 402.9 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.005, allocations: 96 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/1.005, allocations: 3.938 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/1.005, allocations: 4 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.006, allocations: 5.141 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.006, allocations: 3.953 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.006, allocations: 0 / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/1.006, allocations: 223.5 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/1.006, allocations: 85 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/1.006, allocations: 4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/1.006, allocations: 4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/1.006, allocations: 11.94 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/1.006, allocations: 19.97 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.108e-05/1.006, allocations: 100.5 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.91e-07/1.006, allocations: 0 / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005515/1.007, allocations: 12 kB / 1.603 GB, free: 138.9 MB / 0.8542 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.000161/1.007, allocations: 113.7 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003109/1.008, allocations: 92.84 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.008, allocations: 0.5 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/1.008, allocations: 40.48 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/1.009, allocations: 69.86 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/1.009, allocations: 215.4 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/1.009, allocations: 0.6936 MB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.508e-05/1.009, allocations: 13.23 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/1.009, allocations: 11.72 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/1.009, allocations: 0.9375 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.00491/1.014, allocations: 1.489 MB / 1.606 GB, free: 136.2 MB / 0.8542 GB