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.227/2.227, allocations: 387.1 MB / 399.7 MB, free: 9.477 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: 172.9 kB / 492.3 MB, free: 0.5977 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.599/1.599, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009161/0.0009161, allocations: 102.9 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.971e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3194, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.447, allocations: 150.3 MB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/1.447, allocations: 87.84 kB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01076/1.458, allocations: 4.288 MB / 1.363 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.695e-06/1.458, allocations: 0 / 1.363 GB, free: 34.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.205e-05/1.458, allocations: 4.312 kB / 1.363 GB, free: 34.46 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.0004505/1.458, allocations: 391.4 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.458, allocations: 11.53 kB / 1.364 GB, free: 34.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/1.458, allocations: 7.812 kB / 1.364 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.459, allocations: 183.3 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/1.459, allocations: 6.75 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/1.459, allocations: 7.656 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/1.459, allocations: 77.69 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.459, allocations: 0 / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.459, allocations: 0 / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/1.459, allocations: 7.906 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/1.459, allocations: 42.17 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/1.459, allocations: 344 kB / 1.365 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/1.46, allocations: 115.5 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/1.46, allocations: 64.03 kB / 1.365 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/1.46, allocations: 0 / 1.365 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/1.46, allocations: 95.58 kB / 1.365 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/1.46, allocations: 0 / 1.365 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002071/1.46, allocations: 110.8 kB / 1.365 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/1.46, allocations: 63.41 kB / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/1.46, allocations: 132.7 kB / 1.365 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/1.46, allocations: 28.7 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/1.46, allocations: 87.8 kB / 1.365 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/1.46, allocations: 17.58 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/1.46, allocations: 3.812 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.46, allocations: 316.9 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/1.461, allocations: 36.14 kB / 1.366 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.74e-05/1.461, allocations: 61.02 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/1.461, allocations: 35.7 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.461, allocations: 0 / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001496/1.461, allocations: 126.3 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.461, allocations: 3.781 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.461, allocations: 0 / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.461, allocations: 7.875 kB / 1.366 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/1.461, allocations: 7.781 kB / 1.366 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.461, allocations: 2.812 kB / 1.366 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/1.461, allocations: 10.73 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/1.461, allocations: 20.03 kB / 1.366 GB, free: 32.73 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.461, allocations: 109.5 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/1.461, allocations: 7.75 kB / 1.366 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/1.461, allocations: 22.05 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.461, allocations: 7.844 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.461, allocations: 0 / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.461, allocations: 3.938 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/1.462, allocations: 411.9 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.462, allocations: 0 / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/1.462, allocations: 1.5 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.462, allocations: 3.844 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/1.462, allocations: 1.266 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.462, allocations: 4 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.462, allocations: 3.953 kB / 1.366 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001675/1.462, allocations: 219.6 kB / 1.367 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/1.462, allocations: 84.39 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.462, allocations: 3.875 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.919e-05/1.462, allocations: 0 / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/1.462, allocations: 13.81 kB / 1.367 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/1.462, allocations: 28.92 kB / 1.367 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.506e-05/1.462, allocations: 97.66 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.462, allocations: 0 / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002169/1.462, allocations: 11.66 kB / 1.367 GB, free: 31.97 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.0001236/1.462, allocations: 115.1 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001445/1.463, allocations: 85.14 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.463, allocations: 4.062 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/1.463, allocations: 46.95 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/1.463, allocations: 69.56 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/1.463, allocations: 149.8 kB / 1.367 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/1.464, allocations: 0.6962 MB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.438e-05/1.464, allocations: 24.05 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/1.464, allocations: 14.55 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.464, allocations: 0 / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.003605/1.467, allocations: 1.55 MB / 1.369 GB, free: 30.94 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