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.761/1.761, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001449/0.001449, allocations: 195.9 kB / 377.1 MB, free: 1.531 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.62/1.62, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0009118/0.0009116, allocations: 90.97 kB / 0.7509 GB, free: 62.96 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 116.3 MB / 0.9884 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7388/1.01, allocations: 138.8 MB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002054/1.01, allocations: 68.16 kB / 1.124 GB, free: 35.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008342/1.019, allocations: 3.918 MB / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.295e-06/1.019, allocations: 0 / 1.128 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.256e-05/1.019, allocations: 9.938 kB / 1.128 GB, free: 32.85 MB / 0.7292 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.0004681/1.019, allocations: 407.9 kB / 1.128 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.019, allocations: 12.55 kB / 1.128 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/1.019, allocations: 43.41 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/1.019, allocations: 6.875 kB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/1.02, allocations: 178.3 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/1.02, allocations: 10.59 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/1.02, allocations: 8 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.02, allocations: 83.84 kB / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.02, allocations: 0 / 1.129 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.02, allocations: 4 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/1.02, allocations: 4.516 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.764e-05/1.02, allocations: 46 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/1.02, allocations: 334.6 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/1.021, allocations: 114.4 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/1.021, allocations: 4.641 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/1.021, allocations: 86.83 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/1.021, allocations: 4 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002887/1.021, allocations: 151.7 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/1.021, allocations: 58.64 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.71e-05/1.021, allocations: 121.5 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/1.021, allocations: 34.11 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/1.021, allocations: 88.38 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/1.021, allocations: 23.84 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/1.021, allocations: 0 / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/1.021, allocations: 322.4 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/1.021, allocations: 38.88 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.88e-05/1.021, allocations: 58.38 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.897e-05/1.022, allocations: 40.19 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.022, allocations: 0 / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001542/1.022, allocations: 124.8 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.022, allocations: 9.078 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/1.022, allocations: 0 / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.022, allocations: 4 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/1.022, allocations: 8.531 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.022, allocations: 0 / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.85e-05/1.022, allocations: 11.56 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/1.022, allocations: 27.91 kB / 1.13 GB, free: 30.4 MB / 0.7292 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 7.283e-05/1.022, allocations: 121.2 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/1.022, allocations: 4.656 kB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/1.022, allocations: 16.38 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.022, allocations: 4 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.022, allocations: 1.031 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.022, allocations: 1.828 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/1.022, allocations: 409.1 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/1.022, allocations: 0.6875 kB / 1.131 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/1.022, allocations: 8 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.023, allocations: 1.031 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.023, allocations: 7.312 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.023, allocations: 9.094 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.023, allocations: 4.438 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/1.023, allocations: 218.7 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/1.023, allocations: 85.02 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/1.023, allocations: 0 / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/1.023, allocations: 8.75 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/1.023, allocations: 7.516 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/1.023, allocations: 26.22 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.499e-05/1.023, allocations: 96.14 kB / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.9e-07/1.023, allocations: 0 / 1.131 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002331/1.023, allocations: 16 kB / 1.131 GB, free: 29.36 MB / 0.7292 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.0003562/1.024, allocations: 0.7626 MB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001589/1.024, allocations: 90.7 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.024, allocations: 0 / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.186e-05/1.024, allocations: 43.36 kB / 1.132 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/1.024, allocations: 65.95 kB / 1.132 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000619/1.025, allocations: 0.7274 MB / 1.133 GB, free: 27.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/1.025, allocations: 0.6946 MB / 1.134 GB, free: 26.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.361e-05/1.025, allocations: 14.41 kB / 1.134 GB, free: 26.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/1.025, allocations: 34.84 kB / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of SimCode: time 7.384e-06/1.025, allocations: 0 / 1.134 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/1.039, allocations: 2.461 MB / 1.136 GB, free: 25.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/1.04, allocations: 191.4 kB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.635, allocations: 0 / 1.136 GB, free: 25.36 MB / 0.7292 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)