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.383/2.383, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001746/0.001746, allocations: 176.9 kB / 492.3 MB, free: 0.6172 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.704/1.704, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.00102/0.00102, allocations: 89.8 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.746e-05, allocations: 3.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 142.3 MB / 1.213 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.449, allocations: 150.3 MB / 1.359 GB, free: 19.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/1.45, allocations: 88.33 kB / 1.359 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01158/1.461, allocations: 4.293 MB / 1.364 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.705e-06/1.461, allocations: 0 / 1.364 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.463e-05/1.462, allocations: 1.75 kB / 1.364 GB, free: 34.58 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.0005726/1.462, allocations: 394.8 kB / 1.364 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/1.462, allocations: 11.59 kB / 1.364 GB, free: 34.19 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.665e-05/1.462, allocations: 42.25 kB / 1.364 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/1.462, allocations: 14.53 kB / 1.364 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/1.463, allocations: 177.2 kB / 1.364 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/1.463, allocations: 7.781 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/1.463, allocations: 9.922 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/1.463, allocations: 74.05 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.463, allocations: 4 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/1.463, allocations: 2.625 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.463, allocations: 3.875 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/1.463, allocations: 39.27 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/1.464, allocations: 342.6 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/1.464, allocations: 112.4 kB / 1.365 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/1.464, allocations: 69.55 kB / 1.365 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/1.464, allocations: 3.938 kB / 1.365 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/1.464, allocations: 90.5 kB / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/1.464, allocations: 0 / 1.365 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002613/1.464, allocations: 114.6 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/1.464, allocations: 55.16 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.464, allocations: 133.8 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/1.464, allocations: 25.7 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/1.465, allocations: 93.55 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/1.465, allocations: 18.45 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/1.465, allocations: 0 / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.465, allocations: 321.4 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/1.465, allocations: 32.86 kB / 1.366 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/1.465, allocations: 57.64 kB / 1.366 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/1.465, allocations: 35.02 kB / 1.366 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.465, allocations: 0 / 1.366 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00017/1.465, allocations: 126.5 kB / 1.366 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.465, allocations: 7.812 kB / 1.366 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.465, allocations: 96 / 1.366 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/1.465, allocations: 3.984 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/1.465, allocations: 21.52 kB / 1.366 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.465, allocations: 7.984 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/1.465, allocations: 3.688 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/1.465, allocations: 16.33 kB / 1.366 GB, free: 32.81 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 8.694e-05/1.465, allocations: 119.8 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/1.465, allocations: 6.484 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/1.466, allocations: 12.34 kB / 1.366 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/1.466, allocations: 3.938 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.466, allocations: 4 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/1.466, allocations: 3.953 kB / 1.366 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/1.466, allocations: 403.3 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.466, allocations: 3.844 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/1.466, allocations: 2.766 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.466, allocations: 0 / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.466, allocations: 7.25 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.466, allocations: 3.953 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.466, allocations: 4 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/1.466, allocations: 212.6 kB / 1.367 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/1.466, allocations: 87.38 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/1.466, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/1.466, allocations: 7.5 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/1.466, allocations: 13.33 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/1.466, allocations: 19.81 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.47e-05/1.467, allocations: 100.3 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.467, allocations: 0 / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002132/1.467, allocations: 15.38 kB / 1.367 GB, free: 32.05 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.0005452/1.467, allocations: 0.7646 MB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001706/1.468, allocations: 94.34 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.468, allocations: 0 / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.32e-05/1.468, allocations: 43.83 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/1.468, allocations: 74.28 kB / 1.368 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/1.469, allocations: 186 kB / 1.368 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/1.469, allocations: 0.6972 MB / 1.369 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.08e-05/1.469, allocations: 15.06 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.443e-05/1.469, allocations: 24.3 kB / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.469, allocations: 0 / 1.369 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/1.484, allocations: 2.557 MB / 1.371 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/1.484, allocations: 180.8 kB / 1.371 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/3.288, allocations: 5.734 kB / 1.371 GB, free: 30.08 MB / 0.8386 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