Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.786/1.786, allocations: 285.4 MB / 298 MB, free: 5.953 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.001044/0.001044, allocations: 176.8 kB / 366.4 MB, free: 2.082 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.839/1.839, allocations: 205.1 MB / 0.6248 GB, free: 7.727 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.0009355/0.0009354, allocations: 99.98 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.414e-05/6.431e-05, allocations: 7.984 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.798/0.7981, allocations: 115.3 MB / 0.971 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.204/1.002, allocations: 137.7 MB / 1.105 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/1.002, allocations: 67.95 kB / 1.106 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00946/1.012, allocations: 3.913 MB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.312e-06/1.012, allocations: 0 / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.012, allocations: 0 / 1.109 GB, free: 10.11 MB / 0.7136 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.0004318/1.012, allocations: 397.2 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.012, allocations: 12.03 kB / 1.11 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/1.012, allocations: 31.81 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/1.012, allocations: 7.906 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/1.013, allocations: 190.9 kB / 1.11 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/1.013, allocations: 5.156 kB / 1.11 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/1.013, allocations: 4 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.013, allocations: 80.48 kB / 1.11 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.013, allocations: 2.75 kB / 1.11 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/1.013, allocations: 3.984 kB / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.013, allocations: 0 / 1.11 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/1.013, allocations: 45.2 kB / 1.11 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/1.014, allocations: 339.8 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/1.014, allocations: 116.9 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/1.014, allocations: 70.02 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/1.014, allocations: 0 / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/1.014, allocations: 88.22 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/1.014, allocations: 0.5625 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002755/1.014, allocations: 117.1 kB / 1.111 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/1.014, allocations: 63.98 kB / 1.111 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/1.015, allocations: 124.2 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/1.015, allocations: 25.7 kB / 1.111 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/1.015, allocations: 88.12 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/1.015, allocations: 15.81 kB / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/1.015, allocations: 0 / 1.111 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/1.015, allocations: 319.6 kB / 1.111 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/1.015, allocations: 37.98 kB / 1.111 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/1.015, allocations: 61.28 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/1.015, allocations: 36.58 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.015, allocations: 1.188 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001825/1.015, allocations: 133.7 kB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.015, allocations: 8.719 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/1.015, allocations: 0 / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.015, allocations: 0.875 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/1.015, allocations: 11.98 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/1.015, allocations: 0 / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.626e-05/1.015, allocations: 15.33 kB / 1.112 GB, free: 7.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/1.015, allocations: 19.97 kB / 1.112 GB, free: 7.488 MB / 0.7136 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.756e-05/1.016, allocations: 117.8 kB / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/1.016, allocations: 4 kB / 1.112 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/1.016, allocations: 12.62 kB / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.016, allocations: 0 / 1.112 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.016, allocations: 7.125 kB / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.016, allocations: 0 / 1.112 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/1.016, allocations: 408 kB / 1.112 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/1.016, allocations: 0 / 1.112 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/1.016, allocations: 7.984 kB / 1.112 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.016, allocations: 0 / 1.112 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/1.016, allocations: 9.594 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.016, allocations: 4 kB / 1.112 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.016, allocations: 3.953 kB / 1.112 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/1.016, allocations: 215.8 kB / 1.112 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/1.016, allocations: 81.02 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/1.016, allocations: 4 kB / 1.113 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/1.016, allocations: 4 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/1.017, allocations: 11.98 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/1.017, allocations: 31.84 kB / 1.113 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.495e-05/1.017, allocations: 95.28 kB / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.017, allocations: 0 / 1.113 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000221/1.017, allocations: 16 kB / 1.113 GB, free: 6.391 MB / 0.7136 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.0005163/1.017, allocations: 0.757 MB / 1.113 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001735/1.018, allocations: 87.91 kB / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/1.018, allocations: 0 / 1.114 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.874e-05/1.018, allocations: 51.91 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/1.018, allocations: 53.95 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/1.018, allocations: 186.5 kB / 1.114 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/1.019, allocations: 0.6989 MB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.351e-05/1.019, allocations: 14.86 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/1.019, allocations: 27.44 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.019, allocations: 0 / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/1.031, allocations: 2.491 MB / 1.117 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/1.031, allocations: 181.4 kB / 1.117 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.555, allocations: 0 / 1.117 GB, free: 1.945 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)