Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001156/0.001157, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.00113/0.00113, allocations: 191 kB / 17.29 MB, free: 5.516 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 63.48 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3138, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001989/0.3159, allocations: 0.6574 MB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004869/0.3164, allocations: 196.8 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.264e-05/0.3164, allocations: 0 / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3166, allocations: 7.922 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.3166, allocations: 3.938 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.3169, allocations: 47.83 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.317, allocations: 51.91 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3171, allocations: 19.98 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.3171, allocations: 23.91 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.871e-05/0.3172, allocations: 27.86 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3172, allocations: 4 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3173, allocations: 4 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.3173, allocations: 15.98 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.3174, allocations: 31.78 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3175, allocations: 71.75 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3175, allocations: 4 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3175, allocations: 0 / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.3175, allocations: 4 kB / 1.02 GB, free: 8.699 MB / 0.795 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.000518/0.318, allocations: 412.8 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.3181, allocations: 8.625 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3181, allocations: 8.844 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3183, allocations: 188.2 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.3183, allocations: 4.375 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.3183, allocations: 8.375 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3185, allocations: 82.2 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3185, allocations: 4.188 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3185, allocations: 3.938 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3185, allocations: 0 / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.3186, allocations: 47.97 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.3192, allocations: 344.5 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3194, allocations: 122.5 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.3195, allocations: 64.86 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3195, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.3196, allocations: 91.31 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3196, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0002729/0.3199, allocations: 153.5 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.32, allocations: 55.41 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.32, allocations: 125.9 kB / 1.022 GB, free: 6.809 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3201, allocations: 33.7 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.3201, allocations: 92.05 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3201, allocations: 19.8 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.3202, allocations: 33.7 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.3203, allocations: 318.8 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.26e-05/0.3204, allocations: 39.97 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.48e-05/0.3205, allocations: 54.5 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3206, allocations: 94.55 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3206, allocations: 4 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001765/0.3208, allocations: 133.5 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3208, allocations: 4 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3208, allocations: 0 / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3208, allocations: 4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.3209, allocations: 15.94 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3209, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/0.321, allocations: 11.97 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.321, allocations: 27.94 kB / 1.022 GB, free: 5.891 MB / 0.795 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.238e-05/0.3211, allocations: 128.6 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.3212, allocations: 7.906 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.3212, allocations: 16.73 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3212, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3212, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.3212, allocations: 48 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.3216, allocations: 430.1 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3216, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.3217, allocations: 4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3217, allocations: 0 / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3217, allocations: 3.984 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3217, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3217, allocations: 4 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3219, allocations: 215.4 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.322, allocations: 89 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.322, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.322, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.3221, allocations: 15.92 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.3221, allocations: 27.95 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.3222, allocations: 95.27 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3222, allocations: 0 / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002392/0.3224, allocations: 12 kB / 1.023 GB, free: 4.758 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.0001194/0.3226, allocations: 115.2 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.3228, allocations: 91.83 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3228, allocations: 0 / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.3229, allocations: 43.98 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3233, allocations: 94.91 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.3237, allocations: 197.4 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.324, allocations: 0.6963 MB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.056e-05/0.324, allocations: 20.47 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3241, allocations: 15.44 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3241, allocations: 0 / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of Templates: time 0.004347/0.3284, allocations: 1.694 MB / 1.026 GB, free: 1.773 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches