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.25/2.25, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001284/0.001284, allocations: 183.8 kB / 0.4901 GB, free: 2.082 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.598/1.598, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.000919/0.0009188, allocations: 100.9 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000412/0.0004123, allocations: 11 kB / 1.09 GB, free: 215.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2923, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/0.5132, allocations: 151.2 MB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5136, allocations: 83.94 kB / 1.377 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.525, allocations: 4.301 MB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.014e-06/0.525, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.525, allocations: 4 kB / 1.381 GB, free: 13.79 MB / 0.8855 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.0005456/0.5256, allocations: 412.7 kB / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.5257, allocations: 8.031 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.5257, allocations: 34.56 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.5258, allocations: 7.953 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.526, allocations: 179 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.526, allocations: 4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.5261, allocations: 12 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.5262, allocations: 89.52 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5263, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5263, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.5263, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.5264, allocations: 51.97 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.527, allocations: 340.7 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.5272, allocations: 122.5 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.885e-05/0.5273, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.5274, allocations: 79.38 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.5274, allocations: 4 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0003454/0.5278, allocations: 165.4 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5278, allocations: 51.41 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.5279, allocations: 124.8 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.528, allocations: 25.7 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.528, allocations: 92.12 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.5281, allocations: 15.81 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.5281, allocations: 4 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5282, allocations: 318.8 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.5283, allocations: 35.98 kB / 1.383 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.838e-05/0.5284, allocations: 62.83 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.5284, allocations: 39.97 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5285, allocations: 0 / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002136/0.5287, allocations: 133.5 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5287, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5287, allocations: 0 / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5287, allocations: 4 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/0.5288, allocations: 11.92 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.5288, allocations: 3.953 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.5289, allocations: 4 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/0.529, allocations: 19.97 kB / 1.384 GB, free: 11.14 MB / 0.8855 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.0001183/0.5291, allocations: 130.7 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.5291, allocations: 3.906 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.5292, allocations: 12.38 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5292, allocations: 384 / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5292, allocations: 3.938 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5292, allocations: 3.953 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.5297, allocations: 414.4 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5297, allocations: 4 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.5297, allocations: 4 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5297, allocations: 0 / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5297, allocations: 0 / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5298, allocations: 3.953 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5298, allocations: 4 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.53, allocations: 219.3 kB / 1.384 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.5301, allocations: 85.02 kB / 1.384 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5301, allocations: 4 kB / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.5e-05/0.5302, allocations: 48 / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.5302, allocations: 19.92 kB / 1.384 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.5303, allocations: 23.95 kB / 1.384 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.169e-05/0.5303, allocations: 99.2 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5303, allocations: 0 / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000243/0.5306, allocations: 16 kB / 1.385 GB, free: 10.01 MB / 0.8855 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.0005548/0.5312, allocations: 0.7566 MB / 1.385 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.5313, allocations: 96.17 kB / 1.385 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5314, allocations: 0 / 1.385 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.5315, allocations: 47.91 kB / 1.385 GB, free: 9.086 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.5319, allocations: 67.94 kB / 1.386 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.5327, allocations: 0.7244 MB / 1.386 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.533, allocations: 0.6926 MB / 1.387 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.34e-05/0.5331, allocations: 16.77 kB / 1.387 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.5332, allocations: 27.42 kB / 1.387 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5332, allocations: 0 / 1.387 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.5482, allocations: 2.537 MB / 1.389 GB, free: 5.125 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.5485, allocations: 205.4 kB / 1.39 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.136, allocations: 0 / 1.39 GB, free: 4.887 MB / 0.8855 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