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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001189/0.001189, allocations: 181.2 kB / 371.6 MB, free: 3.398 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.512/1.512, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009086/0.0009085, allocations: 88.64 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.972e-05/3.984e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3066, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9806/1.287, allocations: 138.7 MB / 1.115 GB, free: 44.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.288, allocations: 69.75 kB / 1.115 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009824/1.298, allocations: 3.906 MB / 1.119 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.043e-06/1.298, allocations: 0 / 1.119 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.421e-05/1.298, allocations: 0.8438 kB / 1.119 GB, free: 42.77 MB / 0.7448 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.0005486/1.298, allocations: 398.4 kB / 1.12 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.298, allocations: 8.594 kB / 1.12 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/1.298, allocations: 41.7 kB / 1.12 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/1.298, allocations: 11.12 kB / 1.12 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/1.299, allocations: 173.6 kB / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/1.299, allocations: 14.25 kB / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/1.299, allocations: 4.875 kB / 1.12 GB, free: 42.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/1.299, allocations: 81.98 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/1.299, allocations: 1.75 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.299, allocations: 8.281 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/1.299, allocations: 0 / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/1.299, allocations: 36.95 kB / 1.12 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/1.3, allocations: 341.7 kB / 1.12 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.3, allocations: 118.8 kB / 1.12 GB, free: 41.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/1.3, allocations: 65.2 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/1.3, allocations: 4 kB / 1.12 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/1.3, allocations: 83.83 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 3.948e-06/1.3, allocations: 0.9844 kB / 1.121 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002719/1.3, allocations: 116.9 kB / 1.121 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.3, allocations: 62.48 kB / 1.121 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/1.301, allocations: 119.5 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/1.301, allocations: 33.08 kB / 1.121 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/1.301, allocations: 91.14 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/1.301, allocations: 18.8 kB / 1.121 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/1.301, allocations: 3.312 kB / 1.121 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/1.301, allocations: 322.2 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.327e-05/1.301, allocations: 30.72 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/1.301, allocations: 54 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.95e-05/1.301, allocations: 43.64 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.301, allocations: 4 kB / 1.121 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001985/1.301, allocations: 126.6 kB / 1.122 GB, free: 40.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.301, allocations: 4 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.301, allocations: 0.75 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/1.301, allocations: 5.125 kB / 1.122 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/1.301, allocations: 7.938 kB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.301, allocations: 4.531 kB / 1.122 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/1.301, allocations: 14.06 kB / 1.122 GB, free: 40.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/1.302, allocations: 18.66 kB / 1.122 GB, free: 40.49 MB / 0.7448 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 () * 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 7.629e-05/1.302, allocations: 110.4 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/1.302, allocations: 11.33 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.07e-05/1.302, allocations: 13.62 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/1.302, allocations: 4 kB / 1.122 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.302, allocations: 3.938 kB / 1.122 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.302, allocations: 4.656 kB / 1.122 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/1.302, allocations: 411.2 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.302, allocations: 0.5 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/1.302, allocations: 3.938 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.302, allocations: 4 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.302, allocations: 3.938 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.302, allocations: 0 / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.302, allocations: 4.734 kB / 1.122 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/1.302, allocations: 221.5 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/1.302, allocations: 86.09 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.302, allocations: 0.75 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/1.303, allocations: 3.328 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/1.303, allocations: 15.94 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/1.303, allocations: 22.5 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.705e-05/1.303, allocations: 95.22 kB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.9e-07/1.303, allocations: 0 / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002343/1.303, allocations: 15.88 kB / 1.123 GB, free: 39.54 MB / 0.7448 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) * 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.0004882/1.303, allocations: 0.7541 MB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001915/1.304, allocations: 98.28 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.304, allocations: 0 / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/1.304, allocations: 43.55 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/1.304, allocations: 67.66 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/1.305, allocations: 186.3 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/1.305, allocations: 0.6988 MB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.199e-05/1.305, allocations: 14.28 kB / 1.124 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/1.305, allocations: 23.67 kB / 1.124 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of SimCode: time 6.31e-07/1.305, allocations: 0 / 1.124 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/1.322, allocations: 2.479 MB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/1.322, allocations: 163.5 kB / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/3.049, allocations: 10.47 kB / 1.127 GB, free: 36.17 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)