Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.3 MB / 261.8 MB, free: 5.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 176.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.1 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000905/0.0009049, allocations: 88.91 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.272e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1987, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7828/0.9815, allocations: 131.8 MB / 1.021 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.9818, allocations: 77.47 kB / 1.021 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.9919, allocations: 3.918 MB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.673e-06/0.992, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.992, allocations: 4 kB / 1.024 GB, free: 15.68 MB / 0.6511 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.0004485/0.9924, allocations: 407.1 kB / 1.025 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9925, allocations: 8.031 kB / 1.025 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.9926, allocations: 30.56 kB / 1.025 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.9926, allocations: 4 kB / 1.025 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.9928, allocations: 195.6 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.9928, allocations: 6.438 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.9928, allocations: 4 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.993, allocations: 79.3 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.993, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.993, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.993, allocations: 8 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.521e-05/0.9931, allocations: 46.53 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.9937, allocations: 330.1 kB / 1.026 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.9939, allocations: 120 kB / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.994, allocations: 63.47 kB / 1.026 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.994, allocations: 6.422 kB / 1.026 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.9942, allocations: 85.38 kB / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.9942, allocations: 0 / 1.026 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002656/0.9944, allocations: 125.1 kB / 1.026 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.9945, allocations: 55.41 kB / 1.026 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.976e-05/0.9946, allocations: 125 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.9946, allocations: 25.7 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.9947, allocations: 94.77 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.9947, allocations: 19.17 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.9947, allocations: 112 / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.9948, allocations: 318.4 kB / 1.027 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.9949, allocations: 39.3 kB / 1.027 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.995, allocations: 61.75 kB / 1.027 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.325e-05/0.995, allocations: 39.39 kB / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.995, allocations: 0 / 1.027 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000183/0.9952, allocations: 134.3 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9953, allocations: 5.562 kB / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9953, allocations: 0 / 1.027 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.9953, allocations: 8.031 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.607e-05/0.9954, allocations: 7.984 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.9954, allocations: 4.047 kB / 1.027 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.9955, allocations: 11.25 kB / 1.027 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.9955, allocations: 23.91 kB / 1.027 GB, free: 13.2 MB / 0.6511 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 8.815e-05/0.9956, allocations: 114.8 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.9957, allocations: 11.89 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.9957, allocations: 12.44 kB / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9957, allocations: 0 / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9957, allocations: 0 / 1.027 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.9957, allocations: 7.953 kB / 1.027 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.9962, allocations: 401.8 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.9962, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.9962, allocations: 3.984 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.9962, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.9962, allocations: 7.938 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.9962, allocations: 7.953 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9962, allocations: 0 / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.9964, allocations: 219.2 kB / 1.028 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.9965, allocations: 84.95 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.9965, allocations: 4 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.9966, allocations: 2.875 kB / 1.028 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/0.9967, allocations: 11.94 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.9967, allocations: 23.97 kB / 1.028 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.9968, allocations: 98.22 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9968, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002252/0.997, allocations: 15.25 kB / 1.028 GB, free: 12.17 MB / 0.6511 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.0005017/0.9975, allocations: 0.7613 MB / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.9977, allocations: 83.84 kB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.9977, allocations: 4 kB / 1.029 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.9978, allocations: 44.55 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.9982, allocations: 71.02 kB / 1.029 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.9987, allocations: 180.4 kB / 1.029 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.9991, allocations: 0.6964 MB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.38e-05/0.9992, allocations: 16.44 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.9992, allocations: 27.73 kB / 1.03 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/0.9992, allocations: 0 / 1.03 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/1.012, allocations: 2.494 MB / 1.032 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/1.012, allocations: 178.9 kB / 1.032 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.544, allocations: 0 / 1.032 GB, free: 7.703 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)