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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 100.4 kB / 16.36 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 197.6 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 73.78 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2249, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001921/0.2269, allocations: 0.6524 MB / 0.9518 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.2273, allocations: 195.4 kB / 0.952 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.2274, allocations: 0 / 0.952 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.405e-05/0.2275, allocations: 11.81 kB / 0.952 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.2275, allocations: 4 kB / 0.952 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.2277, allocations: 43.83 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2279, allocations: 51.91 kB / 0.9521 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.228, allocations: 15.98 kB / 0.9521 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.228, allocations: 19.94 kB / 0.9521 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.384e-05/0.2281, allocations: 31.89 kB / 0.9521 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.2281, allocations: 4 kB / 0.9521 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.2281, allocations: 4 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.2282, allocations: 23.92 kB / 0.9522 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.2282, allocations: 23.88 kB / 0.9522 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2284, allocations: 75.69 kB / 0.9523 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2284, allocations: 0 / 0.9523 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2284, allocations: 0 / 0.9523 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2284, allocations: 0 / 0.9523 GB, free: 6.938 MB / 0.7325 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.0005293/0.2289, allocations: 420.8 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.2289, allocations: 8.031 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.229, allocations: 4.938 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.2292, allocations: 184.2 kB / 0.9529 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2292, allocations: 8.375 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2292, allocations: 4.375 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.2294, allocations: 82.16 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2294, allocations: 192 / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2294, allocations: 7.938 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2294, allocations: 4 kB / 0.953 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.2295, allocations: 47.91 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.23, allocations: 348.6 kB / 0.9533 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.2302, allocations: 110.5 kB / 0.9534 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.2303, allocations: 64.84 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.2303, allocations: 4 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.2305, allocations: 99.36 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2305, allocations: 0 / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002795/0.2308, allocations: 157.4 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2308, allocations: 51.41 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.2309, allocations: 125.8 kB / 0.9539 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2309, allocations: 29.7 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.231, allocations: 92.03 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.231, allocations: 15.81 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.2311, allocations: 37.7 kB / 0.9541 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.2312, allocations: 326.8 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.2313, allocations: 36.03 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.2313, allocations: 58.48 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.2315, allocations: 94.55 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2315, allocations: 4 kB / 0.9546 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001811/0.2317, allocations: 129.5 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2317, allocations: 4 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2317, allocations: 4 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2317, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.2318, allocations: 11.92 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2318, allocations: 4 kB / 0.9547 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.2319, allocations: 3.938 kB / 0.9547 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.2319, allocations: 27.95 kB / 0.9548 GB, free: 4.129 MB / 0.7325 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.329e-05/0.232, allocations: 133.8 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.232, allocations: 3.906 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.2321, allocations: 12.38 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.2321, allocations: 0 / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2321, allocations: 3.938 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2321, allocations: 0 / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/0.2325, allocations: 414.3 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2325, allocations: 4.469 kB / 0.9553 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.2325, allocations: 7.984 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2325, allocations: 0 / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2326, allocations: 4 kB / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.2326, allocations: 0 / 0.9553 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2326, allocations: 3.938 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.2328, allocations: 223.4 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2328, allocations: 81.02 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2328, allocations: 7.938 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.392e-05/0.2329, allocations: 8 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.233, allocations: 15.92 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.233, allocations: 23.95 kB / 0.9557 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.2331, allocations: 95.92 kB / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2331, allocations: 0 / 0.9558 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002362/0.2333, allocations: 16 kB / 0.9558 GB, free: 2.992 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001056/0.2334, allocations: 113.2 kB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2336, allocations: 95.89 kB / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2336, allocations: 0 / 0.956 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.2337, allocations: 43.97 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.2341, allocations: 97.67 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.2345, allocations: 205.3 kB / 0.9563 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.2347, allocations: 0.6922 MB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.127e-05/0.2347, allocations: 12.62 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.2348, allocations: 23.42 kB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2348, allocations: 288 / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.003907/0.2387, allocations: 1.697 MB / 0.9587 GB, free: 15.99 MB / 0.7481 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches