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.769/1.769, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001149/0.001149, allocations: 173.1 kB / 371.8 MB, free: 10.27 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.688/1.688, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 101.1 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006619/0.0006619, allocations: 11.66 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3266, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7885/1.115, allocations: 137.8 MB / 1.114 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.115, allocations: 67.08 kB / 1.114 GB, free: 16.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00896/1.124, allocations: 3.93 MB / 1.118 GB, free: 31.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/1.124, allocations: 0 / 1.118 GB, free: 31.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.285e-05/1.124, allocations: 0 / 1.118 GB, free: 31.97 MB / 0.698 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.0005645/1.125, allocations: 403.5 kB / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.125, allocations: 11.67 kB / 1.118 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/1.125, allocations: 36.08 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/1.125, allocations: 3.812 kB / 1.118 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.125, allocations: 180.3 kB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.125, allocations: 15.59 kB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/1.125, allocations: 3.844 kB / 1.119 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/1.126, allocations: 83.55 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.126, allocations: 0 / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.126, allocations: 3.969 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/1.126, allocations: 4 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.156e-05/1.126, allocations: 41.89 kB / 1.119 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/1.126, allocations: 342.4 kB / 1.119 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/1.126, allocations: 118.4 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/1.127, allocations: 7.156 kB / 1.119 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/1.127, allocations: 84.64 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/1.127, allocations: 3.844 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002734/1.127, allocations: 153.1 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.127, allocations: 51.41 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/1.127, allocations: 123.5 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.127, allocations: 29.25 kB / 1.12 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/1.127, allocations: 95.23 kB / 1.12 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/1.127, allocations: 21.25 kB / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/1.127, allocations: 4.375 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.127, allocations: 321 kB / 1.12 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/1.127, allocations: 34.53 kB / 1.12 GB, free: 30.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/1.127, allocations: 54.7 kB / 1.12 GB, free: 30.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.412e-05/1.128, allocations: 37.95 kB / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.128, allocations: 0 / 1.12 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001808/1.128, allocations: 138.3 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.128, allocations: 3.844 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/1.128, allocations: 3.969 kB / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.128, allocations: 0 / 1.12 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/1.128, allocations: 11.12 kB / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.128, allocations: 6.984 kB / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/1.128, allocations: 0 / 1.12 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/1.128, allocations: 27.44 kB / 1.12 GB, free: 30.2 MB / 0.698 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.0001207/1.128, allocations: 123.7 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/1.128, allocations: 7.75 kB / 1.12 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/1.128, allocations: 14.84 kB / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.128, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/1.128, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.128, allocations: 0 / 1.12 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/1.129, allocations: 420.1 kB / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.129, allocations: 0 / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/1.129, allocations: 0 / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/1.129, allocations: 7.781 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/1.129, allocations: 2.859 kB / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.129, allocations: 0 / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.129, allocations: 0 / 1.121 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/1.129, allocations: 225 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/1.129, allocations: 85.02 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/1.129, allocations: 2.906 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/1.129, allocations: 7.188 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/1.129, allocations: 6.672 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/1.129, allocations: 23.02 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.17e-05/1.129, allocations: 101.9 kB / 1.121 GB, free: 29.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.129, allocations: 3.938 kB / 1.121 GB, free: 29.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002667/1.13, allocations: 15.53 kB / 1.121 GB, free: 29.43 MB / 0.698 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.0005394/1.13, allocations: 0.7679 MB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001711/1.13, allocations: 89.92 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.13, allocations: 0 / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/1.131, allocations: 44.89 kB / 1.122 GB, free: 28.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/1.131, allocations: 60.41 kB / 1.122 GB, free: 28.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007182/1.132, allocations: 0.7298 MB / 1.123 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/1.132, allocations: 0.696 MB / 1.124 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.229e-05/1.132, allocations: 10.69 kB / 1.124 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/1.132, allocations: 25.89 kB / 1.124 GB, free: 27.39 MB / 0.698 GB Notification: Performance of SimCode: time 7.41e-07/1.132, allocations: 4 kB / 1.124 GB, free: 27.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/1.146, allocations: 2.473 MB / 1.126 GB, free: 27.15 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/1.146, allocations: 208.6 kB / 1.126 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.678, allocations: 0 / 1.126 GB, free: 26.91 MB / 0.698 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)