Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.15/2.15, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001604/0.001604, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009993/0.0009997, allocations: 87.77 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.584e-05/4.605e-05, allocations: 3.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.347, allocations: 151.1 MB / 1.366 GB, free: 2.852 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/1.348, allocations: 87.88 kB / 1.367 GB, free: 2.797 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01045/1.358, allocations: 4.29 MB / 1.371 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.358, allocations: 0 / 1.371 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.358, allocations: 0 / 1.371 GB, free: 15.22 MB / 0.8386 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.0004655/1.359, allocations: 403.1 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.359, allocations: 8.031 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/1.359, allocations: 37.88 kB / 1.371 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/1.359, allocations: 11.86 kB / 1.371 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/1.359, allocations: 178.7 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/1.359, allocations: 4 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/1.359, allocations: 11.61 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/1.359, allocations: 72.05 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/1.359, allocations: 4 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/1.359, allocations: 3.562 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.359, allocations: 0 / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/1.359, allocations: 42.59 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/1.36, allocations: 344.2 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/1.36, allocations: 114.9 kB / 1.372 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/1.36, allocations: 61.61 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/1.36, allocations: 4 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/1.36, allocations: 90.27 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 3.116e-06/1.36, allocations: 3.984 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002396/1.361, allocations: 127.9 kB / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/1.361, allocations: 55.16 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.98e-05/1.361, allocations: 120.8 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/1.361, allocations: 29.7 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/1.361, allocations: 92.02 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/1.361, allocations: 15.8 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/1.361, allocations: 3.75 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.361, allocations: 317.6 kB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/1.361, allocations: 35.3 kB / 1.373 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/1.361, allocations: 55.67 kB / 1.373 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/1.361, allocations: 41.91 kB / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.361, allocations: 0 / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001863/1.362, allocations: 129.5 kB / 1.373 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.362, allocations: 7.938 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.362, allocations: 8 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.362, allocations: 0 / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.163e-05/1.362, allocations: 11.94 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/1.362, allocations: 4.109 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/1.362, allocations: 7.75 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/1.362, allocations: 24 kB / 1.373 GB, free: 12.75 MB / 0.8386 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.185e-05/1.362, allocations: 113.4 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.414e-05/1.362, allocations: 7.906 kB / 1.373 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/1.362, allocations: 11.73 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.362, allocations: 4 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.362, allocations: 3.953 kB / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/1.362, allocations: 0 / 1.373 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/1.362, allocations: 404.7 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.362, allocations: 0 / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/1.362, allocations: 4 kB / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.362, allocations: 0 / 1.374 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/1.362, allocations: 7.938 kB / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/1.362, allocations: 0 / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.362, allocations: 0 / 1.374 GB, free: 12.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/1.363, allocations: 224 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/1.363, allocations: 89 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/1.363, allocations: 0 / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/1.363, allocations: 11.83 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/1.363, allocations: 7.984 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/1.363, allocations: 15.97 kB / 1.374 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.138e-05/1.363, allocations: 95.14 kB / 1.374 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.363, allocations: 3.938 kB / 1.374 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000215/1.363, allocations: 19.06 kB / 1.374 GB, free: 11.72 MB / 0.8386 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.0004929/1.364, allocations: 0.7561 MB / 1.375 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001606/1.364, allocations: 86.16 kB / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.364, allocations: 64 / 1.375 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/1.364, allocations: 43.11 kB / 1.375 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/1.364, allocations: 86.42 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/1.365, allocations: 181.9 kB / 1.375 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/1.365, allocations: 0.6964 MB / 1.376 GB, free: 9.871 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.749e-05/1.365, allocations: 20.52 kB / 1.376 GB, free: 9.852 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/1.365, allocations: 32.8 kB / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of SimCode: time 3.9e-07/1.365, allocations: 0 / 1.376 GB, free: 9.828 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/1.379, allocations: 2.556 MB / 1.378 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/1.379, allocations: 187.7 kB / 1.379 GB, free: 7.227 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.87, allocations: 4 kB / 1.379 GB, free: 7.223 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck_fmu --startTime=0 --stopTime=1.8144e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat does not exist to compare? outputFormat=mat