Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_9_Buildings_Obsolete_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 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 181 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 0.7948 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 92.33 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 7.375 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2711, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4448, allocations: 150.4 MB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.4451, allocations: 83.94 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.4555, allocations: 4.29 MB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.569e-06/0.4555, allocations: 0 / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4556, allocations: 7.938 kB / 1.374 GB, free: 7.223 MB / 0.8698 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.0004702/0.456, allocations: 410.3 kB / 1.374 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4561, allocations: 8.031 kB / 1.375 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.9e-05/0.4561, allocations: 46.55 kB / 1.375 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.4562, allocations: 11.86 kB / 1.375 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.4564, allocations: 167.1 kB / 1.375 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.4564, allocations: 8 kB / 1.375 GB, free: 6.484 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.4564, allocations: 7.938 kB / 1.375 GB, free: 6.477 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4566, allocations: 85.58 kB / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.4566, allocations: 0 / 1.375 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4566, allocations: 4 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4566, allocations: 4 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.4567, allocations: 43.98 kB / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.4573, allocations: 340.7 kB / 1.375 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.4575, allocations: 122.5 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4576, allocations: 7.984 kB / 1.375 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.4577, allocations: 83.38 kB / 1.375 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4577, allocations: 0 / 1.375 GB, free: 5.723 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0002835/0.458, allocations: 153.5 kB / 1.376 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.458, allocations: 51.41 kB / 1.376 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/0.4581, allocations: 124.8 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4582, allocations: 29.7 kB / 1.376 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.4582, allocations: 92.52 kB / 1.376 GB, free: 5.246 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.4582, allocations: 19.86 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.4583, allocations: 0 / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4584, allocations: 318.8 kB / 1.376 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.4584, allocations: 43.91 kB / 1.376 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.4585, allocations: 50.56 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.369e-05/0.4586, allocations: 39.98 kB / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4586, allocations: 4 kB / 1.376 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001851/0.4588, allocations: 137.7 kB / 1.376 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4588, allocations: 5.406 kB / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4588, allocations: 0 / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4588, allocations: 4 kB / 1.376 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.4589, allocations: 7.938 kB / 1.376 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4589, allocations: 3.953 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.459, allocations: 19.92 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.459, allocations: 19.97 kB / 1.376 GB, free: 4.562 MB / 0.8698 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 8.288e-05/0.4591, allocations: 117.8 kB / 1.377 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.081e-05/0.4591, allocations: 0 / 1.377 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.4592, allocations: 20.36 kB / 1.377 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4592, allocations: 3.938 kB / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4592, allocations: 0 / 1.377 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4592, allocations: 3.953 kB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.4596, allocations: 406.4 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4596, allocations: 0 / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.241e-05/0.4596, allocations: 4 kB / 1.377 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4597, allocations: 0 / 1.377 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4597, allocations: 7.984 kB / 1.377 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4597, allocations: 7.891 kB / 1.377 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4597, allocations: 4 kB / 1.377 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.4599, allocations: 211.5 kB / 1.377 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.4599, allocations: 89 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.46, allocations: 0 / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.413e-05/0.46, allocations: 4.188 kB / 1.377 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.4601, allocations: 15.94 kB / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.4601, allocations: 19.91 kB / 1.377 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.4602, allocations: 95.27 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4602, allocations: 4 kB / 1.377 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002436/0.4604, allocations: 16 kB / 1.377 GB, free: 3.449 MB / 0.8698 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.0004991/0.461, allocations: 0.7667 MB / 1.378 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001976/0.4612, allocations: 95.95 kB / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4612, allocations: 0 / 1.378 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-05/0.4613, allocations: 39.98 kB / 1.378 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.4616, allocations: 68.34 kB / 1.378 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.4624, allocations: 0.7243 MB / 1.379 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.4627, allocations: 0.7004 MB / 1.38 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.014e-05/0.4628, allocations: 20.72 kB / 1.38 GB, free: 0.9258 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.4628, allocations: 31.42 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/0.4628, allocations: 0 / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.4778, allocations: 2.537 MB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.4781, allocations: 201.5 kB / 1.383 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.174, allocations: 0 / 1.383 GB, free: 14.32 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat does not exist to compare? outputFormat=mat