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.342/2.342, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001133/0.001134, allocations: 169.2 kB / 498.1 MB, free: 5.742 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.543/1.543, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.001002/0.001002, allocations: 102.8 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 6.875 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2784, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.4653, allocations: 150.4 MB / 1.37 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.4655, allocations: 83.94 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01027/0.4758, allocations: 4.294 MB / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4758, allocations: 0 / 1.374 GB, free: 7.262 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4759, allocations: 3.938 kB / 1.374 GB, free: 7.258 MB / 0.8698 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.0004922/0.4764, allocations: 400.8 kB / 1.374 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.4764, allocations: 16.03 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.4764, allocations: 7.906 kB / 1.374 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.4766, allocations: 178.9 kB / 1.375 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.4767, allocations: 8 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.4767, allocations: 4 kB / 1.375 GB, free: 6.562 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.4769, allocations: 85.58 kB / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.4769, allocations: 0 / 1.375 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4769, allocations: 4 kB / 1.375 GB, free: 6.469 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4769, allocations: 4 kB / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.477, allocations: 39.97 kB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.4776, allocations: 344.7 kB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.4778, allocations: 114.5 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.4778, allocations: 4 kB / 1.375 GB, free: 5.914 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.4779, allocations: 95.25 kB / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.478, allocations: 0 / 1.375 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0003009/0.4783, allocations: 157.5 kB / 1.375 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.4783, allocations: 51.41 kB / 1.375 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.4784, allocations: 120.8 kB / 1.376 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.4785, allocations: 29.7 kB / 1.376 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.4785, allocations: 96.12 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.4786, allocations: 16.05 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.4786, allocations: 112 / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4787, allocations: 326.8 kB / 1.376 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.565e-05/0.4788, allocations: 31.98 kB / 1.376 GB, free: 4.953 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.4788, allocations: 58.48 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.4789, allocations: 51.95 kB / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4789, allocations: 0 / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001768/0.4791, allocations: 125.5 kB / 1.376 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4791, allocations: 4 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4791, allocations: 0 / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4792, allocations: 4 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.4792, allocations: 7.984 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4792, allocations: 3.953 kB / 1.376 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.4793, allocations: 12.03 kB / 1.376 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.4794, allocations: 19.97 kB / 1.376 GB, free: 4.656 MB / 0.8698 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.0001129/0.4795, allocations: 131.3 kB / 1.376 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.4795, allocations: 7.906 kB / 1.376 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.4796, allocations: 12.38 kB / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4796, allocations: 0 / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4796, allocations: 0 / 1.376 GB, free: 4.496 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4796, allocations: 3.953 kB / 1.377 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.48, allocations: 410.5 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4801, allocations: 4 kB / 1.377 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.4801, allocations: 8 kB / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4801, allocations: 0 / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4801, allocations: 0 / 1.377 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4801, allocations: 7.953 kB / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4801, allocations: 480 / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4803, allocations: 223.3 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.4804, allocations: 88.95 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4804, allocations: 0 / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.4805, allocations: 8 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.4806, allocations: 19.91 kB / 1.377 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.4806, allocations: 23.95 kB / 1.377 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.4807, allocations: 91.27 kB / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4807, allocations: 0 / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002235/0.4809, allocations: 20 kB / 1.377 GB, free: 3.516 MB / 0.8698 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.0001459/0.481, allocations: 108.7 kB / 1.377 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.4812, allocations: 87.89 kB / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4812, allocations: 0 / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.245e-05/0.4813, allocations: 47.91 kB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.4817, allocations: 71.33 kB / 1.378 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.4821, allocations: 213 kB / 1.378 GB, free: 2.965 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4824, allocations: 0.6926 MB / 1.379 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.4825, allocations: 20.77 kB / 1.379 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.4825, allocations: 15.44 kB / 1.379 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of SimCode: time 3.7e-07/0.4825, allocations: 0 / 1.379 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of Templates: time 0.003716/0.4862, allocations: 1.545 MB / 1.38 GB, free: 0.6914 MB / 0.8698 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