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.203/2.203, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001202/0.001202, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009169, allocations: 99.83 kB / 0.9219 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.027e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.18, allocations: 149.7 MB / 1.352 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.181, allocations: 86.41 kB / 1.352 GB, free: 18.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01052/1.191, allocations: 4.272 MB / 1.356 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.174e-06/1.191, allocations: 2.344 kB / 1.356 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.191, allocations: 0 / 1.356 GB, free: 33.78 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.0004752/1.192, allocations: 393.3 kB / 1.357 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.192, allocations: 12.03 kB / 1.357 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/1.192, allocations: 7.781 kB / 1.357 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/1.192, allocations: 180.2 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/1.192, allocations: 11.95 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/1.192, allocations: 3.656 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001253/1.192, allocations: 36.44 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/1.192, allocations: 79.06 kB / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/1.192, allocations: 0 / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.192, allocations: 0 / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.192, allocations: 3.875 kB / 1.357 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/1.193, allocations: 312.7 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.193, allocations: 110.5 kB / 1.358 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/1.193, allocations: 60.56 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.193, allocations: 2.953 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000101/1.193, allocations: 89.14 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/1.193, allocations: 0 / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002001/1.194, allocations: 109.5 kB / 1.358 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/1.194, allocations: 51.41 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/1.194, allocations: 122.5 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/1.194, allocations: 25.7 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/1.194, allocations: 91.27 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/1.194, allocations: 26.44 kB / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/1.194, allocations: 0 / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.194, allocations: 320.7 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/1.194, allocations: 36.62 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/1.194, allocations: 61.88 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/1.194, allocations: 31.66 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.194, allocations: 4 kB / 1.359 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001418/1.194, allocations: 115.8 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/1.194, allocations: 6.625 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.194, allocations: 7.875 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/1.194, allocations: 96 / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/1.194, allocations: 10.91 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/1.194, allocations: 3.906 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/1.194, allocations: 2.906 kB / 1.359 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/1.194, allocations: 23.77 kB / 1.359 GB, free: 32.08 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.604e-05/1.195, allocations: 116.4 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001265/1.195, allocations: 110.8 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.041e-05/1.195, allocations: 7.719 kB / 1.359 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/1.195, allocations: 12.03 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/1.195, allocations: 0 / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.195, allocations: 3.938 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.195, allocations: 3.953 kB / 1.359 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/1.195, allocations: 374.5 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.195, allocations: 3.812 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-05/1.195, allocations: 6.281 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.195, allocations: 0 / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/1.195, allocations: 7.859 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.195, allocations: 3.984 kB / 1.359 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.195, allocations: 7.938 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/1.195, allocations: 217.5 kB / 1.36 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/1.195, allocations: 81.02 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/1.195, allocations: 3.094 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.152e-05/1.195, allocations: 3.875 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/1.195, allocations: 10.98 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/1.196, allocations: 20.55 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.216e-05/1.196, allocations: 93.5 kB / 1.36 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 7.938 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002205/1.196, allocations: 15.38 kB / 1.36 GB, free: 31.3 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.000506/1.196, allocations: 0.7426 MB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001475/1.196, allocations: 88.7 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.196, allocations: 0 / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/1.197, allocations: 46.53 kB / 1.361 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/1.197, allocations: 60.42 kB / 1.361 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/1.197, allocations: 178.1 kB / 1.361 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/1.198, allocations: 0.6968 MB / 1.362 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.667e-05/1.198, allocations: 23.09 kB / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/1.198, allocations: 26.95 kB / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.198, allocations: 0 / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/1.219, allocations: 2.197 MB / 1.364 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.219, allocations: 178.4 kB / 1.364 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/2.739, allocations: 0 / 1.364 GB, free: 29.45 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