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: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.34/2.34, allocations: 393.5 MB / 408.4 MB, free: 10.88 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.001151/0.001151, allocations: 187.9 kB / 0.4902 GB, free: 2.07 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.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0008781/0.000878, allocations: 100.2 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 10.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3165, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.4998, allocations: 151.2 MB / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5001, allocations: 91.94 kB / 1.377 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01079/0.5109, allocations: 4.293 MB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5109, allocations: 4 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.511, allocations: 0 / 1.381 GB, free: 13.88 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.0005925/0.5116, allocations: 401.7 kB / 1.382 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5116, allocations: 8.562 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.5117, allocations: 7.906 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.5119, allocations: 186.9 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.5119, allocations: 8 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.512, allocations: 4 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.5122, allocations: 85.58 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5122, allocations: 0 / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.5122, allocations: 4 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5122, allocations: 4 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.5123, allocations: 39.92 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.5131, allocations: 336.8 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.5133, allocations: 130.4 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.5133, allocations: 4.031 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.5135, allocations: 83.38 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.5135, allocations: 0 / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0003287/0.5138, allocations: 153.7 kB / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.5139, allocations: 55.41 kB / 1.383 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.514, allocations: 124.9 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5141, allocations: 29.8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.5141, allocations: 99.92 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.5142, allocations: 7.812 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.5142, allocations: 8 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5143, allocations: 318.8 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.5144, allocations: 31.98 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.5145, allocations: 62.55 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.966e-05/0.5145, allocations: 40.2 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5146, allocations: 112 / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002404/0.5148, allocations: 133.4 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5148, allocations: 8 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5148, allocations: 0 / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5149, allocations: 0 / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.5149, allocations: 7.938 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.515, allocations: 11.98 kB / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.777e-05/0.515, allocations: 0 / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.5151, allocations: 27.95 kB / 1.383 GB, free: 11.28 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.0001273/0.5153, allocations: 118.7 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.5153, allocations: 7.906 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.5153, allocations: 12.36 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.5153, allocations: 4 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5153, allocations: 0 / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5153, allocations: 7.953 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004627/0.5158, allocations: 406.4 kB / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5158, allocations: 0 / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.088e-05/0.5158, allocations: 0 / 1.384 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5158, allocations: 8.031 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.5159, allocations: 7.984 kB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5159, allocations: 3.953 kB / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.5159, allocations: 0 / 1.384 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.5161, allocations: 223.4 kB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.5162, allocations: 85 kB / 1.384 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.5162, allocations: 4 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.5163, allocations: 4 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.5163, allocations: 15.94 kB / 1.384 GB, free: 10.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5164, allocations: 19.97 kB / 1.384 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.5164, allocations: 99.27 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.473e-06/0.5164, allocations: 0 / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002262/0.5167, allocations: 19.94 kB / 1.384 GB, free: 10.16 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.0001425/0.5168, allocations: 108.8 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.517, allocations: 91.88 kB / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.517, allocations: 0 / 1.385 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.5171, allocations: 44.05 kB / 1.385 GB, free: 9.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.5175, allocations: 74.16 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.5179, allocations: 209 kB / 1.385 GB, free: 9.605 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.5182, allocations: 0.7004 MB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.5183, allocations: 16.78 kB / 1.386 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.5183, allocations: 19.42 kB / 1.386 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5183, allocations: 0 / 1.386 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of Templates: time 0.003888/0.5222, allocations: 1.544 MB / 1.387 GB, free: 7.328 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (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 & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches