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: 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_9_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_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.036/2.036, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009968/0.0009968, allocations: 164.9 kB / 487.4 MB, free: 5.039 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.29/1.29, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0008278/0.0008279, allocations: 83.92 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.6e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.224, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7994/1.023, allocations: 149.7 MB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/1.024, allocations: 86.03 kB / 1.352 GB, free: 18.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/1.034, allocations: 4.272 MB / 1.356 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.034, allocations: 0 / 1.356 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.034, allocations: 4.531 kB / 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.000405/1.034, allocations: 389.5 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.034, allocations: 7.719 kB / 1.357 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/1.034, allocations: 7.719 kB / 1.357 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/1.034, allocations: 188.9 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/1.035, allocations: 0 / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/1.035, allocations: 3.781 kB / 1.357 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.898e-05/1.035, allocations: 46.28 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/1.035, allocations: 71.44 kB / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.035, allocations: 0 / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/1.035, allocations: 4 kB / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/1.035, allocations: 0 / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/1.035, allocations: 311.4 kB / 1.357 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/1.035, allocations: 109.8 kB / 1.357 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/1.036, allocations: 63.75 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/1.036, allocations: 7.906 kB / 1.358 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/1.036, allocations: 82.3 kB / 1.358 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/1.036, allocations: 0 / 1.358 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002028/1.036, allocations: 106.2 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/1.036, allocations: 63.03 kB / 1.358 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/1.036, allocations: 118.9 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/1.036, allocations: 33.59 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/1.036, allocations: 87.95 kB / 1.358 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/1.036, allocations: 21.83 kB / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.036, allocations: 0 / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.036, allocations: 324.6 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/1.036, allocations: 29.62 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/1.036, allocations: 61.66 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.174e-05/1.036, allocations: 35.33 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.036, allocations: 0 / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001331/1.037, allocations: 123.4 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.037, allocations: 3.875 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.037, allocations: 0 / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/1.037, allocations: 3.844 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.992e-05/1.037, allocations: 10.39 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/1.037, allocations: 0 / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.739e-05/1.037, allocations: 3.812 kB / 1.359 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/1.037, allocations: 22.41 kB / 1.359 GB, free: 32.09 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.459e-05/1.037, allocations: 116.6 kB / 1.359 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/1.037, allocations: 7.781 kB / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/1.037, allocations: 7.875 kB / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.037, allocations: 3.047 kB / 1.359 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/1.037, allocations: 4 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.037, allocations: 3.938 kB / 1.359 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/1.037, allocations: 375.8 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.037, allocations: 0 / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/1.037, allocations: 3.891 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.037, allocations: 3.984 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.037, allocations: 10.56 kB / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.037, allocations: 0 / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.037, allocations: 4 kB / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/1.037, allocations: 220.8 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.22e-05/1.038, allocations: 81.02 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/1.038, allocations: 3.812 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-05/1.038, allocations: 3.047 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/1.038, allocations: 10.62 kB / 1.359 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/1.038, allocations: 23.7 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.756e-05/1.038, allocations: 93.55 kB / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.038, allocations: 0 / 1.36 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002213/1.038, allocations: 11.53 kB / 1.36 GB, free: 31.36 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.0001095/1.038, allocations: 111.3 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001349/1.038, allocations: 84.27 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.038, allocations: 0 / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/1.038, allocations: 45.23 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/1.039, allocations: 68.67 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002506/1.039, allocations: 141.1 kB / 1.36 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/1.039, allocations: 0.6965 MB / 1.361 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.255e-05/1.039, allocations: 19.23 kB / 1.361 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/1.039, allocations: 16.88 kB / 1.361 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.039, allocations: 0 / 1.361 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.003118/1.042, allocations: 1.488 MB / 1.362 GB, free: 30.34 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (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 & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches