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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009455/0.0009455, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.008134/0.008134, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.614/2.614, allocations: 443.3 MB / 0.7175 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 7.812 kB / 0.8796 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3304, allocations: 155.2 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001067/0.3316, allocations: 374.5 kB / 1.031 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005148/0.3321, allocations: 195.8 kB / 1.032 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.399e-05/0.3322, allocations: 0 / 1.032 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.844e-05/0.3323, allocations: 3.938 kB / 1.032 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.28e-05/0.3323, allocations: 4 kB / 1.032 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.3326, allocations: 39.91 kB / 1.032 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3328, allocations: 47.91 kB / 1.032 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3329, allocations: 19.97 kB / 1.032 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.3329, allocations: 15.94 kB / 1.032 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.333, allocations: 23.91 kB / 1.032 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.3331, allocations: 4 kB / 1.032 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.3331, allocations: 3.938 kB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.3331, allocations: 23.91 kB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.3332, allocations: 45.58 kB / 1.032 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3333, allocations: 67.73 kB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3333, allocations: 0 / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.586e-06/0.3334, allocations: 0 / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.3334, allocations: 3.938 kB / 1.032 GB, free: 3.461 MB / 0.7794 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.0005905/0.334, allocations: 397.2 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.334, allocations: 8.031 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3341, allocations: 8.844 kB / 1.032 GB, free: 3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.3343, allocations: 180.3 kB / 1.033 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.3343, allocations: 12.36 kB / 1.033 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3343, allocations: 8.375 kB / 1.033 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3345, allocations: 82.16 kB / 1.033 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3345, allocations: 192 / 1.033 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3345, allocations: 3.938 kB / 1.033 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3345, allocations: 0 / 1.033 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.758e-05/0.3347, allocations: 47.91 kB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006232/0.3353, allocations: 348.6 kB / 1.033 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3355, allocations: 122.5 kB / 1.033 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.3356, allocations: 60.86 kB / 1.033 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.3356, allocations: 0 / 1.033 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.3358, allocations: 87.38 kB / 1.033 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.3358, allocations: 4 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003294/0.3362, allocations: 153.5 kB / 1.033 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3362, allocations: 59.34 kB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.3363, allocations: 129.6 kB / 1.034 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3364, allocations: 29.7 kB / 1.034 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.3364, allocations: 88.52 kB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3365, allocations: 23.7 kB / 1.034 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.3365, allocations: 17.72 kB / 1.034 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3367, allocations: 330.8 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.196e-05/0.3367, allocations: 35.92 kB / 1.034 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.3368, allocations: 58.55 kB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3369, allocations: 94.66 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.337, allocations: 3.938 kB / 1.034 GB, free: 0.8711 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002158/0.3372, allocations: 125.6 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3372, allocations: 12.03 kB / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3372, allocations: 0 / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3372, allocations: 48 / 1.034 GB, free: 0.7305 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.3373, allocations: 15.97 kB / 1.034 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3373, allocations: 4 kB / 1.034 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.592e-05/0.3374, allocations: 7.844 kB / 1.034 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.8e-05/0.3375, allocations: 27.95 kB / 1.034 GB, free: 0.6758 MB / 0.7794 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 0.0001391/0.3376, allocations: 133.7 kB / 1.035 GB, free: 0.5352 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.3377, allocations: 11.91 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.3377, allocations: 8.375 kB / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3377, allocations: 0 / 1.035 GB, free: 0.5156 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3377, allocations: 4 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3377, allocations: 0 / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.3382, allocations: 410.4 kB / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3382, allocations: 0 / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.3382, allocations: 0 / 1.035 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3382, allocations: 4 kB / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3382, allocations: 0 / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3382, allocations: 4 kB / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3383, allocations: 0 / 1.035 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3385, allocations: 223.3 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.3386, allocations: 85.02 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.3386, allocations: 4 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.3387, allocations: 4.172 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3387, allocations: 11.88 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.3388, allocations: 43.88 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.016e-05/0.3389, allocations: 95.27 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3389, allocations: 3.938 kB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002475/0.3391, allocations: 15.94 kB / 1.035 GB, free: 15.54 MB / 0.795 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.0001598/0.3393, allocations: 104.8 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3395, allocations: 91.88 kB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3395, allocations: 0 / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.3396, allocations: 51.97 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.3401, allocations: 70.8 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.3406, allocations: 213 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.3409, allocations: 0.6965 MB / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.4e-05/0.341, allocations: 16.53 kB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.341, allocations: 15.44 kB / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of SimCode: time 5.41e-07/0.341, allocations: 0 / 1.037 GB, free: 14.23 MB / 0.795 GB Notification: Performance of Templates: time 0.004638/0.3457, allocations: 1.638 MB / 1.038 GB, free: 12.62 MB / 0.795 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches